cgltf: enable validation asserts in debug builds
This commit is contained in:
2
third_party/cgltf/tnt/CMakeLists.txt
vendored
2
third_party/cgltf/tnt/CMakeLists.txt
vendored
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user