diff --git a/CMakeLists.txt b/CMakeLists.txt index 70cfabbeb..8ceac9a15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,10 +88,10 @@ SET(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test) # Generate the ssrf-config.h every 'make' -FILE(WRITE ${CMAKE_BINARY_DIR}/version.h.in " - #define VERSION_STRING \"@VERSION_STRING@\" - #define GIT_VERSION_STRING \"@GIT_VERSION_STRING@\" - #define CANONICAL_VERSION_STRING \"@CANONICAL_VERSION_STRING@\" +FILE(WRITE ${CMAKE_BINARY_DIR}/version.h.in +"#define VERSION_STRING \"@VERSION_STRING@\" +#define GIT_VERSION_STRING \"@GIT_VERSION_STRING@\" +#define CANONICAL_VERSION_STRING \"@CANONICAL_VERSION_STRING@\" ") FILE(WRITE ${CMAKE_BINARY_DIR}/version.cmake "