Skip to content

Commit

Permalink
Fix asserts on Catch2 SKIP macros
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Jan 28, 2024
1 parent 06d7631 commit 379853f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if (EXISTS "${FASTGLTF_DEPS_DIR}/catch2")
option(CATCH_CONFIG_CPP17_BYTE "" ON)
option(CATCH_CONFIG_ENABLE_ALL_STRINGMAKERS "" ON)

# Make sure that exceptions are never disabled, as some other library seems to disable them.
option(CATCH_CONFIG_NO_DISABLE_EXCEPTIONS "" ON)

if (MSVC)
option(CATCH_CONFIG_WINDOWS_CRTDBG "" ON)
endif()
Expand Down

0 comments on commit 379853f

Please sign in to comment.