diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-22 15:17:52 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-23 16:42:35 -0400 |
commit | 0f0efc4af221edca19cdcbba5f80b140c58f855e (patch) | |
tree | 838fdac27d37a481b66ef9a20eb9cbb1630d1424 /CMakeLists.txt | |
parent | cmake: remove scream-make (all-caps functions) (diff) | |
download | monero-0f0efc4af221edca19cdcbba5f80b140c58f855e.tar.xz |
cmake: prepend to CMAKE_MODULE_PATH
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d9dff16ec..5cbf92e98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,8 @@ function (die msg) message(FATAL_ERROR "${BoldRed}${msg}${ColourReset}") endfunction () -set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") +list(INSERT CMAKE_MODULE_PATH 0 + "${CMAKE_SOURCE_DIR}/cmake") if (NOT DEFINED ENV{DEVELOPER_LOCAL_TOOLS}) message(STATUS "Could not find DEVELOPER_LOCAL_TOOLS in env (not required)") |