1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 06:13:11 +02:00

Fix irc2sql and webcpanel not being put into the modules folder.

This commit is contained in:
Sadie Powell
2024-01-30 14:53:08 +00:00
parent ec7223ace2
commit 026661c9a2
+9 -1
View File
@@ -150,7 +150,15 @@ macro(build_subdir)
# Generate the module and set it's linker flags, also set it to depend on the main Anope executable to be built beforehand
add_library(${SO} MODULE ${MODULES_SUBDIR_SRCS})
set_target_properties(${SO} PROPERTIES LINKER_LANGUAGE CXX PREFIX "" SUFFIX "" LINK_FLAGS "${SUBDIR_LDFLAGS}" INSTALL_RPATH_USE_LINK_PATH ON BUILD_WITH_INSTALL_RPATH ON)
set_target_properties(${SO} PROPERTIES
BUILD_WITH_INSTALL_RPATH ON
FOLDER "Modules"
INSTALL_RPATH_USE_LINK_PATH ON
LINKER_LANGUAGE CXX
LINK_FLAGS "${SUBDIR_LDFLAGS}"
PREFIX ""
SUFFIX ""
)
add_dependencies(${SO} ${PROGRAM_NAME})
if(HAVE_LOCALIZATION)
add_dependencies(${SO} module_language)