From 70c8c8f668a078790cf32f5ba64b71a64a8f77aa Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 27 Apr 2026 08:23:42 -0400 Subject: [PATCH] build(macos): remove unneeded setting for sysroot --- .github/workflows/continuous-integration.yml | 2 +- cmake/Libraries.cmake | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d8561457c..d4f74b8b6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -113,7 +113,7 @@ jobs: runs-on: macos-15 timeout: 10 qt-version: 6.10.2 - config-args: '-DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=14 -DCMAKE_OSX_SYSROOT=/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' + config-args: '-DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=14' - name: "macos-x64" runs-on: macos-15-intel diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 8d79e6898..ab437e4eb 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -130,7 +130,6 @@ macro(configure_unix_libs) endif() if(APPLE) - set(CMAKE_CXX_FLAGS "--sysroot ${CMAKE_OSX_SYSROOT} ${CMAKE_CXX_FLAGS} -DGTEST_USE_OWN_TR1_TUPLE=1") find_library(lib_ScreenSaver ScreenSaver) find_library(lib_IOKit IOKit) find_library(lib_ApplicationServices ApplicationServices)