diff options
author | Brad King <brad.king@kitware.com> | 2009-09-30 12:31:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-30 12:31:53 (GMT) |
commit | f40406ed6bbb47e2b68e20cb7dd623a7961b090b (patch) | |
tree | 096425cfe6c1e8a6e0c96cddfb8069fe7a50da68 /bootstrap | |
parent | 27c04be03a2fe47ee57a6bac339abb7f42aedfeb (diff) | |
download | CMake-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-x | bootstrap | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |