|
|
@@ -24,11 +24,9 @@
|
|
|
#define CMAKE_TO_STRING(x) CMAKE_TO_STRING0(x)
|
|
|
#define CMAKE_TO_STRING0(x) #x
|
|
|
|
|
|
-// include configure generated header to define
|
|
|
-// CMAKE_NO_ANSI_STREAM_HEADERS and CMAKE_NO_STD_NAMESPACE
|
|
|
-#if defined(CMAKE_HAS_AUTOCONF) || defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
+// include configure generated header to define CMAKE_NO_ANSI_STREAM_HEADERS,
|
|
|
+// CMAKE_NO_STD_NAMESPACE, and other macros.
|
|
|
#include "cmConfigure.h"
|
|
|
-#endif
|
|
|
|
|
|
#define CMake_VERSION_STRING \
|
|
|
CMAKE_TO_STRING(CMake_VERSION_MAJOR) "." \
|