Mercurial > hg > freeDiameter
comparison CMakeLists.txt @ 561:1cb9352359f4
More cleanups in the packaging. Also removed rgw_common.so which was quite useless
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 16 Sep 2010 13:53:19 +0900 |
parents | 8f85c0507de4 |
children | 144eeab1e3a4 |
comparison
equal
deleted
inserted
replaced
560:d300c5213e45 | 561:1cb9352359f4 |
---|---|
61 MESSAGE( SEND_ERROR "Bison and Flex are required" ) | 61 MESSAGE( SEND_ERROR "Bison and Flex are required" ) |
62 ENDIF( NOT BISON_EXECUTABLE OR NOT FLEX_EXECUTABLE ) | 62 ENDIF( NOT BISON_EXECUTABLE OR NOT FLEX_EXECUTABLE ) |
63 # Check that flex is at least 2.5.20 to support bison-bridge | 63 # Check that flex is at least 2.5.20 to support bison-bridge |
64 # how to do the check with cmake??? | 64 # how to do the check with cmake??? |
65 | 65 |
66 # Add this to workaround an apparent bug in FreeBSD cmake (already defined in Linux) | |
67 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic") | |
68 | |
66 # Location for the include files | 69 # Location for the include files |
67 INCLUDE_DIRECTORIES(include) | 70 INCLUDE_DIRECTORIES(include) |
68 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/include) | 71 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/include) |
69 SUBDIRS(include/freeDiameter) | 72 SUBDIRS(include/freeDiameter) |
70 | 73 |
71 # Location for the source code | 74 # Location for the source code |
72 SUBDIRS(libfreeDiameter) | 75 SUBDIRS(libfreeDiameter) |
73 SUBDIRS(freeDiameter) | 76 SUBDIRS(freeDiameter) |
74 | 77 |
75 # Extensions (there is no point in freeDiameter without any extension) | 78 # Extensions (there is no use of freeDiameter without any extension) |
76 SUBDIRS(extensions) | 79 SUBDIRS(extensions) |