|
@@ -14,12 +14,6 @@ include(compiler_common)
|
|
|
|
|
|
add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:-fopenmp-simd>")
|
|
add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:-fopenmp-simd>")
|
|
|
|
|
|
-# Enable selection between arm64 and x86_64 targets
|
|
|
|
-if(NOT CMAKE_OSX_ARCHITECTURES)
|
|
|
|
- set(CMAKE_OSX_ARCHITECTURES arm64 CACHE STRING "Build architectures for macOS" FORCE)
|
|
|
|
-endif()
|
|
|
|
-set_property(CACHE CMAKE_OSX_ARCHITECTURES PROPERTY STRINGS arm64 x86_64)
|
|
|
|
-
|
|
|
|
# Ensure recent enough Xcode and platform SDK
|
|
# Ensure recent enough Xcode and platform SDK
|
|
function(check_sdk_requirements)
|
|
function(check_sdk_requirements)
|
|
set(obs_macos_minimum_sdk 15.0) # Keep in sync with Xcode
|
|
set(obs_macos_minimum_sdk 15.0) # Keep in sync with Xcode
|