summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-04-06 16:32:36 -0400
committerAdam <Adam@anope.org>2017-04-06 16:32:36 -0400
commitda5e8a03aa8ae8077feab05fe76e6b092f1c8df1 (patch)
tree93cd334c886893208ea10315f71756b7bfe7cded /modules
parent2f5eae1633cfa691ea461bf74c0c85506676d1e1 (diff)
parentc736ba71a5fb6eb51d1e63e00a1ca623c12e0504 (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'modules')
-rw-r--r--modules/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 4a2781caa..0422be7f7 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -15,7 +15,7 @@ macro(build_modules SRC)
string(REGEX MATCH "\\.c$" ANOPE18MODULE ${MODULE_SRC})
if(ANOPE18MODULE)
message(FATAL_ERROR "Anope 1 modules are not compatible with Anope 2!\nOffending module: ${MODULE_SRC}")
- endif(ANOPE18MODULE)
+ endif()
string(REGEX MATCH "\\.cpp$" CPP ${MODULE_SRC})
if(CPP)
set_source_files_properties(${MODULE_SRC} PROPERTIES LANGUAGE CXX COMPILE_FLAGS "${CXXFLAGS}")
@@ -155,7 +155,7 @@ macro(build_subdir)
if(APPLE)
# Mark undefined symbols as having to be looked up at runtime
set(MOD_EXTRA_LDFLAGS "-undefined dynamic_lookup")
- endif(APPLE)
+ endif()
# Generate the module and set its linker flags, also set it to depend on the main Anope executable to be built beforehand
add_library(${SO} SHARED ${MODULES_SUBDIR_SRCS})