summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-30 12:31:53 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-30 12:31:53 (GMT)
commitf40406ed6bbb47e2b68e20cb7dd623a7961b090b (patch)
tree096425cfe6c1e8a6e0c96cddfb8069fe7a50da68 /bootstrap
parent27c04be03a2fe47ee57a6bac339abb7f42aedfeb (diff)
downloadCMake-f40406ed6bbb47e2b68e20cb7dd623a7961b090b.zip
CMake-f40406ed6bbb47e2b68e20cb7dd623a7961b090b.tar.gz
CMake-f40406ed6bbb47e2b68e20cb7dd623a7961b090b.tar.bz2
Fix default install prefix on Haiku
Since Haiku does not have /usr (and therefore /usr/local), this commit changes the default install prefix to the equivalent directory of /boot/common. See issue #9607.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 3688983..b6d1001 100755
--- a/bootstrap
+++ b/bootstrap
@@ -131,6 +131,8 @@ if ${cmake_system_mingw}; then
else
cmake_default_prefix="c:/Program Files/CMake"
fi
+elif ${cmake_system_haiku}; then
+ cmake_default_prefix=`/bin/finddir B_COMMON_DIRECTORY`
else
cmake_default_prefix="/usr/local"
fi