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 Jul 21, 2024
1 parent df056aa commit a35f89d
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 @@ -53,6 +53,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 a35f89d

Please sign in to comment.