diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f7803ec30..7a4918e177 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,7 +271,7 @@ foreach (i RANGE ${length}) string(REPLACE "" ";" line "${line}") set(CONFIG_OUT "${CONFIG_OUT}${line}") endforeach () -file(WRITE ${GECODE_BINARY_DIR}/gecode/support/config.hpp +file(CONFIGURE OUTPUT ${GECODE_BINARY_DIR}/gecode/support/config.hpp CONTENT "/* gecode/support/config.hpp. Generated from config.hpp.in by configure. */ /* gecode/support/config.hpp.in. Generated from configure.ac by autoheader. */