From 70586fa27b270f48e36b5f92f0acf803eb723e6a Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Mon, 17 Jul 2017 23:03:40 +0200 Subject: 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. --- CMakeScripts/inkscape-version.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeScripts') 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() -- cgit v1.2.3