Commit 1844bd18 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Similarly fix compilation for extensions plugins, it seems the CMake on OS X...

Similarly fix compilation for extensions plugins, it seems the CMake on OS X platform does not like unresolved symbols for modules.
parent f813c429
......@@ -46,7 +46,7 @@ set( diameapsrc
FD_ADD_EXTENSION(app_diameap ${diameapsrc})
TARGET_LINK_LIBRARIES(app_diameap ${GCRYPT_LIBRARY} ${MySQL_LIBRARY})
TARGET_LINK_LIBRARIES(app_diameap ${GCRYPT_LIBRARY} ${GNUTLS_LIBRARIES} ${MySQL_LIBRARY} )
####
## INSTALL section ##
......
......@@ -14,3 +14,5 @@ EAP_ADD_METHOD(eap_tls
eaptls.tab.c
eaptls.tab.h
)
TARGET_LINK_LIBRARIES(eap_tls ${GNUTLS_LIBRARIES})
......@@ -54,6 +54,7 @@ MACRO(RGWX_ADD_PLUGIN PLGNAME)
ADD_LIBRARY(${PLGNAME} MODULE ${ARGN})
SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES PREFIX "" )
SET_TARGET_PROPERTIES(${PLGNAME} PROPERTIES SUFFIX ".rgwx" )
TARGET_LINK_LIBRARIES(${PLGNAME} app_radgw)
INSTALL(TARGETS ${PLGNAME}
LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
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