We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccb34db commit 69f5e33Copy full SHA for 69f5e33
cmake/AppleBuild.cmake
@@ -1,6 +1,9 @@
1
-# Define apple architecture for Release builds, use default. For an explicit
2
-# universal executable use `x86_64;arm64`.
3
# This file needs to be included before calling `project`.
4
if (APPLE AND "${CMAKE_GENERATOR}" STREQUAL "Xcode")
5
- set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE INTERNAL "")
+ # Define apple architecture for Release builds, use default. For an explicit
+ # universal executable use `x86_64;arm64`.
+ set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE INTERNAL "OS X architecture")
6
+
7
+ # Support older macOS versions.
8
+ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum OS X deployment version")
9
endif ()
0 commit comments