summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-06-21 17:48:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-06-21 17:48:08 (GMT)
commita7d114cfd6099b7f6acfb658adf3a39f6792cdbd (patch)
tree10965e0b220401c2832cb32ef214fc65a0effcb9 /Source/cmStandardIncludes.h
parent796fc4c4959ba18890bdaf01f9891c6ce4bc8a64 (diff)
downloadCMake-a7d114cfd6099b7f6acfb658adf3a39f6792cdbd.zip
CMake-a7d114cfd6099b7f6acfb658adf3a39f6792cdbd.tar.gz
CMake-a7d114cfd6099b7f6acfb658adf3a39f6792cdbd.tar.bz2
BUG: fix bootstrap build on unix
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index a4330bf..49b68ab 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -47,12 +47,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// include configure generated header to define
// CMAKE_NO_ANSI_STREAM_HEADERS and CMAKE_NO_STD_NAMESPACE
-#ifdef CMAKE_HAS_AUTOCONF
+#if defined(CMAKE_HAS_AUTOCONF) || defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmConfigure.h"
#endif
-#ifdef CMAKE_BUILD_WITH_CMAKE
-#include "cmConfigure.cmake.h"
-#endif
#ifdef _MSC_VER
#pragma warning ( disable : 4786 )