diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-05-09 18:42:01 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-05-09 18:42:01 +0000 |
| commit | ae2703a5383eb29078c09610d713411b2da5ecf8 (patch) | |
| tree | d30ed1c96e7949071db93100acb5b58c95750e3b /CMakeScripts/ConfigPaths.cmake | |
| parent | cmake: Don't include 'ConfigPaths.cmake' twice (diff) | |
| download | inkscape-ae2703a5383eb29078c09610d713411b2da5ecf8.tar.gz inkscape-ae2703a5383eb29078c09610d713411b2da5ecf8.zip | |
cmake/Windows: convert all 'DESTINATION's to relative paths and allow easy customization of install location via 'CMAKE_INSTALL_PREFIX'
(bzr r15681)
Diffstat (limited to 'CMakeScripts/ConfigPaths.cmake')
| -rw-r--r-- | CMakeScripts/ConfigPaths.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake index fae8ceea6..417b265bf 100644 --- a/CMakeScripts/ConfigPaths.cmake +++ b/CMakeScripts/ConfigPaths.cmake @@ -1,7 +1,9 @@ message(STATUS "Creating build files in: ${CMAKE_CURRENT_BINARY_DIR}") if(WIN32) - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/inkscape") + if(${CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT}) + set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/inkscape") + endif() set(INKSCAPE_LIBDIR "\\\\lib") set(INKSCAPE_DATADIR "") |
