summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-11-08 14:20:10 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-11-08 14:20:10 +0100
commit5bc5dc92b25e78c6b27ff508899eec86528a8d17 (patch)
treefb3475e6510396b40671ec0c0f5ec197e3a50bee
parentc38e3212cee645e28bc121bc50a61fe17e33832e (diff)
Fix: find the cmake project files.
Change-Id: I1bce4a2dbc12ce6e196380c4e6b7d0b58530245f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/cmake/common.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmake/common.cmake b/src/cmake/common.cmake
index 318d98e..9609f21 100644
--- a/src/cmake/common.cmake
+++ b/src/cmake/common.cmake
@@ -68,8 +68,8 @@ foreach(OS IN LISTS OSRELEASE)
list(APPEND PATTERN "${CMAKE_SOURCE_DIR}/${PROJECT_CMAKE_CONF_DIR}/cmake/[0-9][0-9]-${OS}*.cmake"
"${CMAKE_SOURCE_DIR}/${PROJECT_CMAKE_CONF_DIR}/cmake.d/[0-9][0-9]-${OS}*.cmake")
endforeach()
-list(APPEND PATTERN "${PROJECT_CMAKE_CONF_DIR}/../cmake/[0-9][0-9]-common*.cmake"
- "${PROJECT_CMAKE_CONF_DIR}/../cmake.d/[0-9][0-9]-common*.cmake")
+list(APPEND PATTERN "${PROJECT_CMAKE_CONF_DIR}/cmake/[0-9][0-9]-common*.cmake"
+ "${PROJECT_CMAKE_CONF_DIR}/cmake.d/[0-9][0-9]-common*.cmake")
file(GLOB distro_cmakefiles ${PATTERN})