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)