Fix double bootstrap build for in source builds
This commit is contained in:
parent
74981c1afd
commit
21a59bdc4d
|
@ -18,7 +18,7 @@
|
|||
|
||||
// include configure generated header to define CMAKE_NO_ANSI_STREAM_HEADERS,
|
||||
// CMAKE_NO_STD_NAMESPACE, and other macros.
|
||||
#include "cmConfigure.h"
|
||||
#include <cmConfigure.h>
|
||||
#include <cmsys/Configure.hxx>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue