Fix asserts in Debug mode
This commit is contained in:
parent
f223c5af9f
commit
369c345a2d
|
@ -207,7 +207,7 @@ target_include_directories(dawn_internal_config INTERFACE
|
||||||
target_link_libraries(dawn_internal_config INTERFACE dawn_public_config)
|
target_link_libraries(dawn_internal_config INTERFACE dawn_public_config)
|
||||||
|
|
||||||
# Compile definitions for the internal config
|
# Compile definitions for the internal config
|
||||||
if (DAWN_ALWAYS_ASSERT OR $<CONFIG:Debug>)
|
if (DAWN_ALWAYS_ASSERT OR CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
target_compile_definitions(dawn_internal_config INTERFACE "DAWN_ENABLE_ASSERTS")
|
target_compile_definitions(dawn_internal_config INTERFACE "DAWN_ENABLE_ASSERTS")
|
||||||
endif()
|
endif()
|
||||||
if (DAWN_ENABLE_D3D12)
|
if (DAWN_ENABLE_D3D12)
|
||||||
|
|
Loading…
Reference in New Issue