summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-07-07 20:26:38 +0100
committerPeter Powell <petpow@saberuk.com>2015-12-31 02:42:18 +0000
commit973dd6b200315c4a19996f0e761a88b71c2d8d18 (patch)
treef0506e901d50031b60fd6f6516d30340c917689a /CMakeLists.txt
parent8def0cd5fcd952e62374260adab0c3fdca02845b (diff)
Append the Anope CMake directory to CMAKE_MODULE_PATH.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bc96f62c..d87f6d385 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ project(Anope CXX)
enable_language(C)
# Override the module include path to include our directory, for our Anope.cmake, as well as we are using our own version of the NSIS template
-set(CMAKE_MODULE_PATH ${Anope_SOURCE_DIR}/cmake)
+list(APPEND CMAKE_MODULE_PATH "${Anope_SOURCE_DIR}/cmake")
include(Anope)