From aafd57bd9a86853df3d4b369df16d8a555908baf Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 14 May 2017 17:48:05 +0200 Subject: cmake: Store defauklt CMAKE_INSTALL_PREFIX to cache, otherwise it will be lost on subsequent runs (bzr r15692) --- CMakeScripts/ConfigPaths.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeScripts/ConfigPaths.cmake') 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") -- cgit v1.2.3