summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-28 18:06:25 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit1999dbae38849ce636011ed81fb91223ad26d292 (patch)
treefdeee81a6c41c9aa21da534c49c29638c44e69db /cmake
parent7664c90e76fcee0925169bbc13eee5aa61b04f22 (diff)
Fix: wrong variable expands at configure_file time
Change-Id: Idcaae73f3e186a9646407ed61df3f1b7da6bf782 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/configure_file.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/configure_file.cmake b/cmake/configure_file.cmake
index 44ff7fc..2028388 100644
--- a/cmake/configure_file.cmake
+++ b/cmake/configure_file.cmake
@@ -1,2 +1,2 @@
include(${CMAKE_BINARY_DIR}/CMakeCacheForScript.cmake)
-configure_file(${INFILE} ${OUTFILE})
+configure_file(${INFILE} ${OUTFILE} @ONLY)