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>2017-06-28 18:10:51 +0200
commit29c5f18190d6def464107ef07ec34debe40c9766 (patch)
tree8e8f8767672dabac4f6e584ae302b8a5eda57aad /cmake
parent802e2ca717e0a569bfe770dab6ff20588c78663a (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)