Mercurial > hg > freeDiameter
comparison extensions/app_radgw/CMakeLists.txt @ 845:5c4cf8d15ef0 1.1.5-rc1
Well this time, I hope, should be the last fix to enable compilation on Darwin systems...
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Tue, 16 Oct 2012 21:10:14 +0200 |
parents | db1c5869a15f |
children | b415d1384e0d |
comparison
equal
deleted
inserted
replaced
844:9b208543ba7f | 845:5c4cf8d15ef0 |
---|---|
52 # and naming conventions (.rgwx : Radius GateWay eXtension) | 52 # and naming conventions (.rgwx : Radius GateWay eXtension) |
53 MACRO(RGWX_ADD_PLUGIN PLGNAME) | 53 MACRO(RGWX_ADD_PLUGIN PLGNAME) |
54 ADD_LIBRARY(${PLGNAME} MODULE ${ARGN}) | 54 ADD_LIBRARY(${PLGNAME} MODULE ${ARGN}) |
55 SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES PREFIX "" ) | 55 SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES PREFIX "" ) |
56 SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES SUFFIX ".rgwx" ) | 56 SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES SUFFIX ".rgwx" ) |
57 #MAC OS X | |
58 IF (APPLE) | |
59 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-flat_namespace,-undefined,warning") | |
60 ENDIF(APPLE) | |
61 INSTALL(TARGETS ${PLGNAME} | 57 INSTALL(TARGETS ${PLGNAME} |
62 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} | 58 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} |
63 COMPONENT freeDiameter-radius-gateway) | 59 COMPONENT freeDiameter-radius-gateway) |
64 ENDMACRO(RGWX_ADD_PLUGIN) | 60 ENDMACRO(RGWX_ADD_PLUGIN) |
65 | 61 |