diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-12-04 22:26:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-12-04 22:26:41 (GMT) |
commit | 3a32cec96923cf057aad00274b4a8ab7ad82a82f (patch) | |
tree | 304527c04dbad8b51ce2bccda1a434f424bf1a9a /bootstrap | |
parent | de8ffcaef492e23af57ed5489dd8a21fdd7ad5d8 (diff) | |
download | CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.zip CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.gz CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.bz2 |
ENH: merge in changes for beos support
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -52,6 +52,13 @@ else cmake_system_darwin=false fi +# Determine whether this is BeOS +if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then + cmake_system_beos=true +else + cmake_system_beos=false +fi + # Choose the generator to use for bootstrapping. if ${cmake_system_mingw}; then # Bootstrapping from an MSYS prompt. @@ -549,6 +556,13 @@ else cmake_ld_flags=${LDFLAGS} fi +# Add BeOS toolkits... +if ${cmake_system_beos}; then + cmake_ld_flags="${LDFLAGS} -lroot -lbe" +else + cmake_ld_flags=${LDFLAGS} +fi + # Test C compiler cmake_c_compiler= |