BUILD: make binary/libdir destinations modifiable
authorhasufell <hasufell@gentoo.org>
Thu, 26 Dec 2013 16:52:51 +0100
changeset 9861 2b4f9e1496c6
parent 9859 85ce4dc3de8a
child 9864 f7eb0d87c9b6
child 9870 acf1ccf06b2d
BUILD: make binary/libdir destinations modifiable
cmake_modules/paths.cmake
--- a/cmake_modules/paths.cmake	Thu Dec 26 16:51:46 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 "/"))