From 8c4ef161b22818b7dd4d40d3b8e0faf84eb5b4d8 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 18 Apr 2015 15:22:10 +0300 Subject: [PATCH] cmake: generate clean ssrf-version.h remoevs the extra white sapce in the generated ssrf-version.h. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 "