diff options
author | Kitware Robot <kwrobot@kitware.com> | 2019-08-09 14:41:44 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-08-09 14:41:44 (GMT) |
commit | 54e9d38c28d0073f2cc5d690adb5c993e7793c97 (patch) | |
tree | ae648e57694ee92687509fdf3d5d6168d653684c /Source/cmGlobalXCodeGenerator.cxx | |
parent | ad0e44a18b1e54bcfac38100a13e6ce169d03099 (diff) | |
download | CMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.zip CMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.tar.gz CMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.tar.bz2 |
Refactor: Convert all instances of CMAKE_BUILD_WITH_CMAKE to CMAKE_BOOTSTRAP
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 029b976..e3cafe3 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -38,12 +38,12 @@ struct cmLinkImplementation; -#if defined(CMAKE_BUILD_WITH_CMAKE) && defined(__APPLE__) +#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) # define HAVE_APPLICATION_SERVICES # include <ApplicationServices/ApplicationServices.h> #endif -#if defined(CMAKE_BUILD_WITH_CMAKE) +#if !defined(CMAKE_BOOTSTRAP) # include "cmXMLParser.h" // parse the xml file storing the installed version of Xcode on @@ -188,7 +188,7 @@ cmGlobalGenerator* cmGlobalXCodeGenerator::Factory::CreateGlobalGenerator( if (name != GetActualName()) { return nullptr; } -#if defined(CMAKE_BUILD_WITH_CMAKE) +#if !defined(CMAKE_BOOTSTRAP) cmXcodeVersionParser parser; std::string versionFile; { |