summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-21 10:51:49 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit72e3bcf92fe668fd5dd2c4ec323f0d4a9eb51ff1 (patch)
treefe334b9e04058296b882d06a40e18b785608f8f3 /cmake
parent3752f1d2172b9a46ae330d42104b7d48475c86a0 (diff)
Project cmake file have precedence on home & sys
Change-Id: Ied2c6e3c7f378b27a84229999b84dfc649a4e657 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 19ee6eb..4e34fcd 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -31,7 +31,7 @@ list(SORT home_cmakefiles)
file(GLOB system_cmakefiles /etc/app-templates/cmake.d/[0-9][0-9]-*.cmake)
list(SORT system_cmakefiles)
-foreach(file ${project_cmakefiles} ${home_cmakefiles} ${system_cmakefiles})
+foreach(file ${system_cmakefiles} ${home_cmakefiles} ${project_cmakefiles})
message(STATUS "Include: ${file}")
include(${file})
endforeach()