pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / cm / cmake / 002-application-services.diff
blob56f7cd266b7af781f61060bb0081296325fc68e4
1 diff -Naur cmake-3.25.1-old/Source/CMakeLists.txt cmake-3.25.1-new/Source/CMakeLists.txt
2 --- cmake-3.25.1-old/Source/CMakeLists.txt 2022-11-30 10:57:03.000000000 -0300
3 +++ cmake-3.25.1-new/Source/CMakeLists.txt 2022-12-19 01:00:08.412064304 -0300
4 @@ -916,7 +916,6 @@
5 # On Apple we need CoreFoundation and CoreServices
6 if(APPLE)
7 target_link_libraries(CMakeLib PUBLIC "-framework CoreFoundation")
8 - target_link_libraries(CMakeLib PUBLIC "-framework CoreServices")
9 endif()
11 if(WIN32 AND NOT UNIX)
12 diff -Naur cmake-3.25.1-old/Source/cmGlobalXCodeGenerator.cxx cmake-3.25.1-new/Source/cmGlobalXCodeGenerator.cxx
13 --- cmake-3.25.1-old/Source/cmGlobalXCodeGenerator.cxx 2022-11-30 10:57:03.000000000 -0300
14 +++ cmake-3.25.1-new/Source/cmGlobalXCodeGenerator.cxx 2022-12-19 01:00:56.065135169 -0300
15 @@ -56,10 +56,6 @@
17 #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__)
18 # include <CoreFoundation/CoreFoundation.h>
19 -# if !TARGET_OS_IPHONE
20 -# define HAVE_APPLICATION_SERVICES
21 -# include <ApplicationServices/ApplicationServices.h>
22 -# endif
23 #endif
25 #if !defined(CMAKE_BOOTSTRAP)
26 diff -Naur cmake-3.25.1-old/Utilities/cmlibarchive/CMakeLists.txt cmake-3.25.1-new/Utilities/cmlibarchive/CMakeLists.txt
27 --- cmake-3.25.1-old/Utilities/cmlibarchive/CMakeLists.txt 2022-11-30 10:57:03.000000000 -0300
28 +++ cmake-3.25.1-new/Utilities/cmlibarchive/CMakeLists.txt 2022-12-19 01:01:43.392205981 -0300
29 @@ -2041,10 +2041,6 @@
30 ADD_CUSTOM_TARGET(run_all_tests)
31 ENDIF(ENABLE_TEST)
33 -# We need CoreServices on Mac OS.
34 -IF(APPLE)
35 - LIST(APPEND ADDITIONAL_LIBS "-framework CoreServices")
36 -ENDIF(APPLE)
38 add_subdirectory(libarchive)
39 IF(0) # CMake does not build libarchive's command-line tools.