cmake: prepend to CMAKE_MODULE_PATH

This commit is contained in:
Ben Boeckel 2014-10-22 15:17:52 -04:00
parent 031e3da724
commit 0f0efc4af2

View file

@ -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)")