summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-05-14 15:48:05 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-05-14 15:48:05 +0000
commitaafd57bd9a86853df3d4b369df16d8a555908baf (patch)
treec946e1eaa95d71432d1e83998de6c0ef49e44eb7 /CMakeScripts
parentInkview: Large batch of feature improvements and bug fixes (diff)
downloadinkscape-aafd57bd9a86853df3d4b369df16d8a555908baf.tar.gz
inkscape-aafd57bd9a86853df3d4b369df16d8a555908baf.zip
cmake: Store defauklt CMAKE_INSTALL_PREFIX to cache, otherwise it will be lost on subsequent runs
(bzr r15692)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigPaths.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake
index 417b265bf..de053c4d8 100644
--- a/CMakeScripts/ConfigPaths.cmake
+++ b/CMakeScripts/ConfigPaths.cmake
@@ -2,7 +2,8 @@ message(STATUS "Creating build files in: ${CMAKE_CURRENT_BINARY_DIR}")
if(WIN32)
if(${CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT})
- set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/inkscape")
+ set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/inkscape"
+ CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
endif()
set(INKSCAPE_LIBDIR "\\\\lib")