Try to simplify building modules

This commit is contained in:
Alexey Sokolov
2023-09-30 11:59:53 +01:00
parent 66faa38f67
commit afe94158a7
5 changed files with 5 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ function(znc_setup_module)
SUFFIX ".so"
NO_SONAME true
CXX_VISIBILITY_PRESET "hidden")
target_link_libraries("${znc_mod_TARGET}" PRIVATE ZNC::ZNC @zncpubdeps@)
target_link_libraries("${znc_mod_TARGET}" PRIVATE ZNC::ZNC)
endfunction()
message(STATUS "Found ZNC @ZNC_VERSION@")