Skip to content

Commit

Permalink
Define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Jun 29, 2024
1 parent 566e2f6 commit 21dce36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ macro(configure_tests target)
target_compile_definitions(${target} PRIVATE
# Somewhat speed up Catch2 compile times
CATCH_CONFIG_FAST_COMPILE
# Let libc++ be stricter about includes
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
# Enable assertions for more thorough tests
_GLIBCXX_ASSERTIONS
_LIBCPP_ENABLE_ASSERTIONS=1
Expand Down

0 comments on commit 21dce36

Please sign in to comment.