mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-19 15:07:16 -04:00
Adds necessary macOS-specific implementation of the framework, focusing on native Xcode builds.
8 lines
269 B
CMake
8 lines
269 B
CMake
# OBS CMake macOS SIMD module
|
|
|
|
# Enable openmp-simd when compiling for arm64
|
|
if(CMAKE_OSX_ARCHITECTURES MATCHES ".*[aA][rR][mM]64e?.*" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
|
|
set(ARCH_SIMD_FLAGS -fopenmp-simd)
|
|
set(ARCH_SIMD_DEFINES SIMDE_ENABLE_OPENMP)
|
|
endif()
|