cmake_modules/paths.cmake
branch0.9.20
changeset 9862 14292fb8d094
parent 9860 d419ff107e15
child 9870 acf1ccf06b2d
--- 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 "/"))