diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-07 19:03:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-07 19:03:31 (GMT) |
commit | fcce2f3b61ca5a3484d41aa804dc09b39f16f8cf (patch) | |
tree | 532b68c68115a2ecfc0a4c2037f6df8cf0c5e5a6 /Utilities/Release/release_cmake.sh.in | |
parent | 8fb74f97efa4b47c2700309e2c1d70a86698264e (diff) | |
download | CMake-fcce2f3b61ca5a3484d41aa804dc09b39f16f8cf.zip CMake-fcce2f3b61ca5a3484d41aa804dc09b39f16f8cf.tar.gz CMake-fcce2f3b61ca5a3484d41aa804dc09b39f16f8cf.tar.bz2 |
ENH: qtgui stuff
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-x | Utilities/Release/release_cmake.sh.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in index 12442c6..1487213 100755 --- a/Utilities/Release/release_cmake.sh.in +++ b/Utilities/Release/release_cmake.sh.in @@ -79,9 +79,15 @@ if [ ! -z "@CONFIGURE_WITH_CMAKE@" ]; then @CMAKE_CONFIGURE_PATH@ ../@CMAKE_VERSION@ check_exit_value $? "Configure cmake" || exit 1 else - echo "Run cmake bootstrap --parallel=@PROCESSORS@" - ../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@ - check_exit_value $? "Bootstrap cmake" || exit 1 + if [ -z "@INSTALL_PREFIX@" ]; then + echo "Run cmake bootstrap --parallel=@PROCESSORS@" + ../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@ + check_exit_value $? "Bootstrap cmake" || exit 1 + else + echo "Run cmake bootstrap --prefix=@INSTALL_PREFIX@ --parallel=@PROCESSORS@" + ../@CMAKE_VERSION@/bootstrap --prefix=@INSTALL_PREFIX@ --parallel=@PROCESSORS@ + check_exit_value $? "Bootstrap cmake" || exit 1 + fi fi echo "Build cmake with @MAKE@" |