cmake: Enable DEBUG flag for Swift

This commit is contained in:
PatTheMav
2025-06-20 21:44:56 +02:00
committed by Ryan Foster
parent cdac426843
commit b0fa60ae17
+1 -1
View File
@@ -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>
)