mirror of
https://github.com/znc/znc.git
synced 2026-07-06 09:51:25 +02:00
@@ -38,7 +38,11 @@ function(add_cxx_module mod modpath)
|
||||
if(moddepend_${mod})
|
||||
add_dependencies("module_${mod}" ${moddepend_${mod}})
|
||||
endif()
|
||||
target_link_libraries("module_${mod}" PRIVATE ${znc_link} ${modlink_${mod}})
|
||||
# ${znclib_LIB_DEPENDS} is to overcome OSX's need for -undefined suppress
|
||||
# when accessing symbols exported by dependencies of znclib (e.g.
|
||||
# openssl), but not used in znclib itself
|
||||
target_link_libraries("module_${mod}" PRIVATE ${znc_link} ${modlink_${mod}}
|
||||
${znclib_LIB_DEPENDS})
|
||||
set_target_properties("module_${mod}" PROPERTIES "" "" ${modprop_${mod}})
|
||||
install(TARGETS "module_${mod}"
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/znc")
|
||||
|
||||
Reference in New Issue
Block a user