summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authornpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-03-01 01:21:13 +0000
committernpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-03-01 01:21:13 +0000
commit57df5f9319a6b4ab11b1aa8d4e3ad60c9f642e88 (patch)
treed01d987a6c232089a70c7db01c2b402ac4f880e8 /CMakeLists.txt
parentf78714a2946bad7e4a5667ad5bd5912d6cd1985d (diff)
downloadlibproxy-57df5f9319a6b4ab11b1aa8d4e3ad60c9f642e88.tar.gz
move all our relative paths into the cache so that they are user adjustable
git-svn-id: http://libproxy.googlecode.com/svn/trunk@589 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 093e628..7b9cf7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,17 +30,17 @@ enable_testing()
# Setup our relative paths
if(${WIN32})
- set(rlibdir .)
- set(rmoduledir modules/)
- set(rlibexecdir .)
- set(rbindir .)
- set(rincludedir include/)
+ set(rlibdir . CACHE STRING "Relative libdir")
+ set(rmoduledir modules/ CACHE STRING "Relative moduledir")
+ set(rlibexecdir . CACHE STRING "Relative libexecdir")
+ set(rbindir . CACHE STRING "Relative bindir")
+ set(rincludedir include/ CACHE STRING "Relative includedir")
else()
- set(rlibdir lib${LIB_SUFFIX}/)
- set(rmoduledir ${rlibdir}/${CMAKE_PROJECT_NAME}/${CMAKE_PROJECT_VERSION}/modules/)
- set(rlibexecdir libexec/)
- set(rbindir bin/)
- set(rincludedir include/)
+ set(rlibdir lib${LIB_SUFFIX}/ CACHE STRING "Relative libdir")
+ set(rmoduledir ${rlibdir}${CMAKE_PROJECT_NAME}/${CMAKE_PROJECT_VERSION}/modules/ CACHE STRING "Relative moduledir")
+ set(rlibexecdir libexec/ CACHE STRING "Relative libexecdir")
+ set(rbindir bin/ CACHE STRING "Relative bindir")
+ set(rincludedir include/ CACHE STRING "Relative includedir")
endif()
# Setup our full paths