Correct precedence over included files
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 27 Jun 2017 13:02:05 +0000 (15:02 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 27 Jun 2017 13:36:00 +0000 (15:36 +0200)
Change-Id: Ifc6f2bf72ea5bc9f497745cc65041f047e8b86bd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/common.cmake

index a98cac9..eb123f1 100644 (file)
@@ -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()