cgltf: enable validation asserts in debug builds

This commit is contained in:
Philip Rideout
2022-07-28 12:08:19 -07:00
parent fd2fc23885
commit 07d2b5ce12

View File

@@ -11,6 +11,8 @@ set(PUBLIC_HDRS
include_directories(${PUBLIC_HDR_DIR})
add_compile_definitions($<$<CONFIG:Debug>:CGLTF_VALIDATE_ENABLE_ASSERTS=1>)
add_library(${TARGET} INTERFACE)
target_sources(${TARGET} INTERFACE ${PUBLIC_HDRS})
target_include_directories(${TARGET} INTERFACE ${PUBLIC_HDR_DIR})