Code Review
/
apps
/
app-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
30e78a5
)
Fix filename pattern to match .cmake files
author
Romain Forlot
<romain.forlot@iot.bzh>
Tue, 24 Apr 2018 15:44:41 +0000
(17:44 +0200)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Tue, 24 Apr 2018 15:44:41 +0000
(17:44 +0200)
Change-Id: I1c659045f178f5e45d31b0203abcd91485b55838
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/03-macros.cmake
patch
|
blob
|
history
diff --git
a/cmake/cmake.d/03-macros.cmake
b/cmake/cmake.d/03-macros.cmake
index
c189bd6
..
9df9a10
100644
(file)
--- a/
cmake/cmake.d/03-macros.cmake
+++ b/
cmake/cmake.d/03-macros.cmake
@@
-520,7
+520,7
@@
macro(project_subdirs_add)
foreach(filename ${filelist})
if(EXISTS "${filename}/CMakeLists.txt")
add_subdirectory(${filename})
- elseif(${filename} MATCHES "^.*cmake$")
+ elseif(${filename} MATCHES "^.*
\\.
cmake$")
include(${filename})
endif(EXISTS "${filename}/CMakeLists.txt")
endforeach()