Browse Source

Merge topic 'backport-3.31-apple-CoreFoundation-headers' into release-3.31

42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10616
release
Brad King 4 months ago
parent
commit
24b907a9e2
  1. 3
      Source/CPack/cmCPackDragNDropGenerator.cxx
  2. 4
      Source/cmFindProgramCommand.cxx
  3. 5
      Source/cmGlobalXCodeGenerator.cxx
  4. 2
      Source/cmXCodeObject.cxx

3
Source/CPack/cmCPackDragNDropGenerator.cxx

@ -10,7 +10,8 @@
#include <cm/string_view>
#include <cmext/string_view>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFLocale.h>
#include <CoreFoundation/CFString.h>
#include <cm3p/kwiml/abi.h>
#include "cmsys/Base64.h"

4
Source/cmFindProgramCommand.cxx

@ -18,7 +18,9 @@
class cmExecutionStatus;
#if defined(__APPLE__)
# include <CoreFoundation/CoreFoundation.h>
# include <CoreFoundation/CFBundle.h>
# include <CoreFoundation/CFString.h>
# include <CoreFoundation/CFURL.h>
#endif
struct cmFindProgramHelper

5
Source/cmGlobalXCodeGenerator.cxx

@ -57,7 +57,10 @@
#include "cmake.h"
#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__)
# include <CoreFoundation/CoreFoundation.h>
# include <CoreFoundation/CFBundle.h>
# include <CoreFoundation/CFString.h>
# include <CoreFoundation/CFURL.h>
# include <CoreFoundation/CFUUID.h>
# if !TARGET_OS_IPHONE
# define HAVE_APPLICATION_SERVICES
# include <ApplicationServices/ApplicationServices.h>

2
Source/cmXCodeObject.cxx

@ -6,8 +6,6 @@
#include <cmext/string_view>
#include <CoreFoundation/CoreFoundation.h>
const char* cmXCodeObject::PBXTypeNames[] = {
/* clang-format needs this comment to break after the opening brace */
"PBXGroup",

Loading…
Cancel
Save