diff options
author | Peter Powell <petpow@saberuk.com> | 2017-02-12 22:06:18 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-02-12 22:06:18 +0000 |
commit | 2de964ffa42221d5d1ad73643dfc46f6fe318021 (patch) | |
tree | 5befeec9873821c11067f7ec7dfe9d8b0cc2857b /modules | |
parent | 6699c0454f80350a7671ef366946a94dec556da3 (diff) |
Clean up conditionals merged from the 2.0 branch.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/CMakeLists.txt | 4 |
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}) |