summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-27 15:02:05 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-27 15:36:00 +0200
commitb62e98e11c34acd9f8de99cbeaea2723d3e078f3 (patch)
tree89c3271876da307f64a203870b6c6ea2b67434fe /cmake
parentf75e6db05943b868da4d3463c72e2367b02387ed (diff)
Correct precedence over included files
Change-Id: Ifc6f2bf72ea5bc9f497745cc65041f047e8b86bd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index a98cac9..eb123f1 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -31,7 +31,7 @@ list(SORT home_cmakefiles)
file(GLOB system_cmakefiles /etc/cmake.d/[0-9][0-9]-*.cmake)
list(SORT system_cmakefiles)
-foreach(file ${system_cmakefiles} ${home_cmakefiles} ${project_cmakefiles})
+foreach(file ${project_cmakefiles} ${home_cmakefiles} ${system_cmakefiles})
message(STATUS "Include: ${file}")
include(${file})
endforeach()