mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cmake: generate clean ssrf-version.h
remoevs the extra white sapce in the generated ssrf-version.h. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cdd84bb188
commit
8c4ef161b2
1 changed files with 4 additions and 4 deletions
|
@ -88,10 +88,10 @@ SET(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test)
|
||||||
|
|
||||||
# Generate the ssrf-config.h every 'make'
|
# Generate the ssrf-config.h every 'make'
|
||||||
|
|
||||||
FILE(WRITE ${CMAKE_BINARY_DIR}/version.h.in "
|
FILE(WRITE ${CMAKE_BINARY_DIR}/version.h.in
|
||||||
#define VERSION_STRING \"@VERSION_STRING@\"
|
"#define VERSION_STRING \"@VERSION_STRING@\"
|
||||||
#define GIT_VERSION_STRING \"@GIT_VERSION_STRING@\"
|
#define GIT_VERSION_STRING \"@GIT_VERSION_STRING@\"
|
||||||
#define CANONICAL_VERSION_STRING \"@CANONICAL_VERSION_STRING@\"
|
#define CANONICAL_VERSION_STRING \"@CANONICAL_VERSION_STRING@\"
|
||||||
")
|
")
|
||||||
|
|
||||||
FILE(WRITE ${CMAKE_BINARY_DIR}/version.cmake "
|
FILE(WRITE ${CMAKE_BINARY_DIR}/version.cmake "
|
||||||
|
|
Loading…
Reference in a new issue