BUILD: make binary/libdir destinations modifiable 0.9.20
authorhasufell <hasufell@gentoo.org>
Thu, 26 Dec 2013 16:52:51 +0100
branch0.9.20
changeset 9862 14292fb8d094
parent 9860 d419ff107e15
child 9863 7ef319ac69f8
BUILD: make binary/libdir destinations modifiable
cmake_modules/paths.cmake
--- a/cmake_modules/paths.cmake	Sat Dec 28 22:00:57 2013 +0100
+++ b/cmake_modules/paths.cmake	Thu Dec 26 16:52:51 2013 +0100
@@ -14,8 +14,8 @@
 
 #resource paths
 if(UNIX AND NOT APPLE)
-    set(target_binary_install_dir "bin")
-    set(target_library_install_dir "lib")
+    set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
+    set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
 
     string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start)
     if (NOT (${sharepath_start} MATCHES "/"))