From bdb070c85c7a3d5cb11fb9e164b94b0d394394b8 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 30 Jan 2024 12:33:53 -0500 Subject: [PATCH] mac: Update target SDK to 10.15 for cmake and tests --- cmake/cef_variables.cmake.in | 4 ++-- tests/cefclient/resources/mac/Info.plist | 2 +- tests/cefclient/resources/mac/helper-Info.plist | 2 +- tests/cefsimple/mac/Info.plist | 2 +- tests/cefsimple/mac/helper-Info.plist | 2 +- tests/ceftests/resources/mac/Info.plist | 2 +- tests/ceftests/resources/mac/helper-Info.plist | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmake/cef_variables.cmake.in b/cmake/cef_variables.cmake.in index e8c0ada1e..b7c5d4852 100644 --- a/cmake/cef_variables.cmake.in +++ b/cmake/cef_variables.cmake.in @@ -310,7 +310,7 @@ if(OS_MAC) # Find the newest available base SDK. execute_process(COMMAND xcode-select --print-path OUTPUT_VARIABLE XCODE_PATH OUTPUT_STRIP_TRAILING_WHITESPACE) - foreach(OS_VERSION 10.15 10.14 10.13) + foreach(OS_VERSION 14.2 14.0 10.15) set(SDK "${XCODE_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${OS_VERSION}.sdk") if(NOT "${CMAKE_OSX_SYSROOT}" AND EXISTS "${SDK}" AND IS_DIRECTORY "${SDK}") set(CMAKE_OSX_SYSROOT ${SDK}) @@ -318,7 +318,7 @@ if(OS_MAC) endforeach() # Target SDK. - set(CEF_TARGET_SDK "10.13") + set(CEF_TARGET_SDK "10.15") list(APPEND CEF_COMPILER_FLAGS -mmacosx-version-min=${CEF_TARGET_SDK} ) diff --git a/tests/cefclient/resources/mac/Info.plist b/tests/cefclient/resources/mac/Info.plist index 5e7e36d44..468a0284b 100644 --- a/tests/cefclient/resources/mac/Info.plist +++ b/tests/cefclient/resources/mac/Info.plist @@ -28,7 +28,7 @@ 0 LSMinimumSystemVersion - 10.13.0 + 10.15.0 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/cefclient/resources/mac/helper-Info.plist b/tests/cefclient/resources/mac/helper-Info.plist index bee1aa476..5f452f39f 100644 --- a/tests/cefclient/resources/mac/helper-Info.plist +++ b/tests/cefclient/resources/mac/helper-Info.plist @@ -28,7 +28,7 @@ LSFileQuarantineEnabled LSMinimumSystemVersion - 10.13.0 + 10.15.0 LSUIElement 1 NSSupportsAutomaticGraphicsSwitching diff --git a/tests/cefsimple/mac/Info.plist b/tests/cefsimple/mac/Info.plist index c83d7c147..8e1a30622 100644 --- a/tests/cefsimple/mac/Info.plist +++ b/tests/cefsimple/mac/Info.plist @@ -26,7 +26,7 @@ 0 LSMinimumSystemVersion - 10.13.0 + 10.15.0 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/cefsimple/mac/helper-Info.plist b/tests/cefsimple/mac/helper-Info.plist index 17842e2a8..22dd18f53 100644 --- a/tests/cefsimple/mac/helper-Info.plist +++ b/tests/cefsimple/mac/helper-Info.plist @@ -26,7 +26,7 @@ LSFileQuarantineEnabled LSMinimumSystemVersion - 10.13.0 + 10.15.0 LSUIElement 1 NSSupportsAutomaticGraphicsSwitching diff --git a/tests/ceftests/resources/mac/Info.plist b/tests/ceftests/resources/mac/Info.plist index 7103cade8..d818386c9 100644 --- a/tests/ceftests/resources/mac/Info.plist +++ b/tests/ceftests/resources/mac/Info.plist @@ -26,7 +26,7 @@ 0 LSMinimumSystemVersion - 10.13.0 + 10.15.0 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/ceftests/resources/mac/helper-Info.plist b/tests/ceftests/resources/mac/helper-Info.plist index d44d0d0a3..131745a9b 100644 --- a/tests/ceftests/resources/mac/helper-Info.plist +++ b/tests/ceftests/resources/mac/helper-Info.plist @@ -26,7 +26,7 @@ LSFileQuarantineEnabled LSMinimumSystemVersion - 10.13.0 + 10.15.0 LSUIElement 1 NSSupportsAutomaticGraphicsSwitching