Commit 40a82bd8 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Try a different approach for OS X as previous one does not work

parent 1844bd18
...@@ -54,7 +54,10 @@ MACRO(RGWX_ADD_PLUGIN PLGNAME) ...@@ -54,7 +54,10 @@ MACRO(RGWX_ADD_PLUGIN PLGNAME)
ADD_LIBRARY(${PLGNAME} MODULE ${ARGN}) ADD_LIBRARY(${PLGNAME} MODULE ${ARGN})
SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES PREFIX "" ) SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES PREFIX "" )
SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES SUFFIX ".rgwx" ) SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES SUFFIX ".rgwx" )
TARGET_LINK_LIBRARIES(${PLGNAME} app_radgw) #MAC OS X
IF (APPLE)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-flat_namespace,-undefined,warning")
ENDIF(APPLE)
INSTALL(TARGETS ${PLGNAME} INSTALL(TARGETS ${PLGNAME}
LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
COMPONENT freeDiameter-radius-gateway) COMPONENT freeDiameter-radius-gateway)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment