Skip to content

Commit b2d4523

Browse files
author
Dextinfire
committed
Set minimum osx target to Big Sur
1 parent 6370f84 commit b2d4523

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if (EMSCRIPTEN)
1313
list(APPEND CMAKE_MODULE_PATH ${EMSCRIPTEN_ROOT_PATH}/cmake/Modules)
1414
endif ()
1515

16+
if (APPLE)
17+
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0")
18+
endif()
19+
1620
set(Impacto_Src
1721
src/main.cpp
1822
src/log.cpp

triplets/arm64-osx-ci.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set(VCPKG_LIBRARY_LINKAGE dynamic)
44

55
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
66
set(VCPKG_OSX_ARCHITECTURES arm64)
7+
set(VCPKG_OSX_DEPLOYMENT_TARGET "11.0")
78
set(VCPKG_BUILD_TYPE release)
89

910
set(VCPKG_FIXUP_MACHO_RPATH ON)

triplets/x64-osx-ci.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set(VCPKG_LIBRARY_LINKAGE dynamic)
44

55
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
66
set(VCPKG_OSX_ARCHITECTURES x86_64)
7+
set(VCPKG_OSX_DEPLOYMENT_TARGET "11.0")
78
set(VCPKG_BUILD_TYPE release)
89

9-
set(VCPKG_FIXUP_MACHO_RPATH ON)
10+
set(VCPKG_FIXUP_MACHO_RPATH ON)

0 commit comments

Comments
 (0)