cmake: assert local modules come first

This commit is contained in:
Bastian Bloessl
2014-10-01 21:00:05 +02:00
parent fa732a647b
commit 65d8806275
+1 -1
View File
@@ -32,7 +32,7 @@ if(NOT CMAKE_BUILD_TYPE)
endif(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
########################################################################
# Compiler specific setup