at 22.05-pre 43 lines 1.4 kB view raw
1diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt 2index 9a18184fd3..278d146dd1 100644 3--- a/Source/CMakeLists.txt 4+++ b/Source/CMakeLists.txt 5@@ -933,7 +933,6 @@ endif() 6 # On Apple we need CoreFoundation and CoreServices 7 if(APPLE) 8 target_link_libraries(CMakeLib "-framework CoreFoundation") 9- target_link_libraries(CMakeLib "-framework CoreServices") 10 endif() 11 12 if(WIN32 AND NOT UNIX) 13diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx 14index 77403b076a..d5aac95e1e 100644 15--- a/Source/cmGlobalXCodeGenerator.cxx 16+++ b/Source/cmGlobalXCodeGenerator.cxx 17@@ -49,10 +49,6 @@ struct cmLinkImplementation; 18 19 #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) 20 # include <CoreFoundation/CoreFoundation.h> 21-# if !TARGET_OS_IPHONE 22-# define HAVE_APPLICATION_SERVICES 23-# include <ApplicationServices/ApplicationServices.h> 24-# endif 25 #endif 26 27 #if !defined(CMAKE_BOOTSTRAP) 28diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt 29index 79452ffff6..a848731b7e 100644 30--- a/Utilities/cmlibarchive/CMakeLists.txt 31+++ b/Utilities/cmlibarchive/CMakeLists.txt 32@@ -2013,11 +2013,6 @@ IF(ENABLE_TEST) 33 ENDIF(ENABLE_TEST) 34 ENDIF() 35 36-# We need CoreServices on Mac OS. 37-IF(APPLE) 38- LIST(APPEND ADDITIONAL_LIBS "-framework CoreServices") 39-ENDIF(APPLE) 40- 41 add_subdirectory(libarchive) 42 IF(0) # CMake does not build libarchive's command-line tools. 43 add_subdirectory(cat)