mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-29 02:03:03 +08:00
cmake: Enable DEBUG flag for Swift
This commit is contained in:
@@ -88,7 +88,7 @@ string(APPEND CMAKE_OBJCXX_FLAGS_RELEASE " -g")
|
||||
# * -Wno-non-virtual-dtor
|
||||
|
||||
add_compile_definitions(
|
||||
$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:$<$<CONFIG:DEBUG>:DEBUG>>
|
||||
$<$<CONFIG:DEBUG>:DEBUG>
|
||||
$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:$<$<CONFIG:DEBUG>:_DEBUG>>
|
||||
$<$<NOT:$<COMPILE_LANGUAGE:Swift>>:SIMDE_ENABLE_OPENMP>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user