nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 60 lines 1.9 kB view raw
1diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt 2index 8aff8f6..af1852d 100644 3--- a/Source/CMakeLists.txt 4+++ b/Source/CMakeLists.txt 5@@ -791,12 +791,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc" 6 endif() 7 endif() 8 9 # On Apple we need CoreFoundation and CoreServices 10 if(APPLE) 11 target_link_libraries(CMakeLib "-framework CoreFoundation") 12- target_link_libraries(CMakeLib "-framework CoreServices") 13 endif() 14 15 if(WIN32 AND NOT UNIX) 16 # We need the rpcrt4 library on Windows. 17 # We need the crypt32 library on Windows for crypto/cert APIs. 18diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx 19index e353a37..b06f842 100644 20--- a/Source/cmGlobalXCodeGenerator.cxx 21+++ b/Source/cmGlobalXCodeGenerator.cxx 22@@ -35,11 +35,6 @@ 23 24 struct cmLinkImplementation; 25 26-#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) 27-# define HAVE_APPLICATION_SERVICES 28-# include <ApplicationServices/ApplicationServices.h> 29-#endif 30- 31 #if !defined(CMAKE_BOOTSTRAP) 32 # include "cmXMLParser.h" 33 34diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt 35index d7af6e2..d4808fc 100644 36--- a/Utilities/cmlibarchive/CMakeLists.txt 37+++ b/Utilities/cmlibarchive/CMakeLists.txt 38@@ -1662,11 +1662,6 @@ IF(MSVC) 39 ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE) 40 ENDIF(MSVC) 41 42-# We need CoreServices on Mac OS. 43-IF(APPLE) 44- LIST(APPEND ADDITIONAL_LIBS "-framework CoreServices") 45-ENDIF(APPLE) 46- 47 add_subdirectory(libarchive) 48 49 install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmlibarchive) 50index e505bdd..f45557d 100644 51--- a/Utilities/cmlibuv/src/unix/darwin-proctitle.c 52+++ b/Utilities/cmlibuv/src/unix/darwin-proctitle.c 53@@ -30,7 +30,6 @@ 54 55 #if !TARGET_OS_IPHONE 56 # include <CoreFoundation/CoreFoundation.h> 57-# include <ApplicationServices/ApplicationServices.h> 58 #endif 59 60 #define S(s) pCFStringCreateWithCString(NULL, (s), kCFStringEncodingUTF8)