# HG changeset patch
# User hasufell <hasufell@gentoo.org>
# Date 1388073171 -3600
# Node ID 14292fb8d0941f82f8987b8c4eff18bfa097b94d
# Parent  d419ff107e15ce6a25083c001457489502a9472a
BUILD: make binary/libdir destinations modifiable

diff -r d419ff107e15 -r 14292fb8d094 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 "/"))