|
|
@@ -14,6 +14,10 @@ include(compiler_common)
|
|
|
|
|
|
add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:-fopenmp-simd>")
|
|
|
|
|
|
+if(CMAKE_CXX_STANDARD GREATER_EQUAL 20)
|
|
|
+ add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-char8_t>)
|
|
|
+endif()
|
|
|
+
|
|
|
# Ensure recent enough Xcode and platform SDK
|
|
|
function(check_sdk_requirements)
|
|
|
set(obs_macos_minimum_sdk 15.0) # Keep in sync with Xcode
|