summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-17 21:03:40 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-17 21:03:40 +0000
commit70586fa27b270f48e36b5f92f0acf803eb723e6a (patch)
treee47ccad7e06b47d5b692e686344eda3956298ae5 /CMakeScripts
parentCleanup: eliminate require-config.h (diff)
downloadinkscape-70586fa27b270f48e36b5f92f0acf803eb723e6a.tar.gz
inkscape-70586fa27b270f48e36b5f92f0acf803eb723e6a.zip
Cleanup: eliminate version from config.h
The idea behind inkscape-version.h / inkscape-version.cpp is to avoid rebuilding most of the code base when the version number changes. Defining a version number in config.h defeats this purpose.
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/inkscape-version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/inkscape-version.cmake b/CMakeScripts/inkscape-version.cmake
index 2fae589d1..7d6533a72 100644
--- a/CMakeScripts/inkscape-version.cmake
+++ b/CMakeScripts/inkscape-version.cmake
@@ -33,5 +33,5 @@ endif()
if(NOT "${INKSCAPE_BINARY_DIR}" STREQUAL "")
message("revision is " ${INKSCAPE_REVISION})
- configure_file(${INKSCAPE_SOURCE_DIR}/src/inkscape-version.cpp.in ${INKSCAPE_BINARY_DIR}/src/inkscape-version.cpp)
+ configure_file(${INKSCAPE_BINARY_DIR}/src/inkscape-version.cpp.in ${INKSCAPE_BINARY_DIR}/src/inkscape-version.cpp)
endif()