summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-10 13:09:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-10 13:09:54 (GMT)
commit21a59bdc4d4c54af5cd175561f9249d5932434d2 (patch)
treee5bebbdc782a736cb717a770bdfdbd17a9001cc4 /bootstrap
parent74981c1afda7476713dccd6d731cb744eb356a8b (diff)
downloadCMake-21a59bdc4d4c54af5cd175561f9249d5932434d2.zip
CMake-21a59bdc4d4c54af5cd175561f9249d5932434d2.tar.gz
CMake-21a59bdc4d4c54af5cd175561f9249d5932434d2.tar.bz2
Fix double bootstrap build for in source builds
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index b6d1001..25d6b68 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1316,9 +1316,9 @@ if [ "x${cmake_cxx_flags}" != "x" ]; then
fi
cmake_c_flags_String="-DKWSYS_STRING_C"
-cmake_c_flags="${cmake_c_flags}-I`cmake_escape \"${cmake_source_dir}/Source\"` \
+cmake_c_flags="${cmake_c_flags}-I`cmake_escape \"${cmake_bootstrap_dir}\"` -I`cmake_escape \"${cmake_source_dir}/Source\"` \
-I`cmake_escape \"${cmake_bootstrap_dir}\"`"
-cmake_cxx_flags="${cmake_cxx_flags}-I`cmake_escape \"${cmake_source_dir}/Source\"` \
+cmake_cxx_flags="${cmake_cxx_flags} -I`cmake_escape \"${cmake_bootstrap_dir}\"` -I`cmake_escape \"${cmake_source_dir}/Source\"` \
-I`cmake_escape \"${cmake_bootstrap_dir}\"`"
echo "cmake: ${objs}" > "${cmake_bootstrap_dir}/Makefile"
echo " ${cmake_cxx_compiler} ${cmake_ld_flags} ${cmake_cxx_flags} ${objs} -o cmake" >> "${cmake_bootstrap_dir}/Makefile"