diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index bb72d16d..d0857b74 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -51,13 +51,33 @@ target_link_libraries(common ${CMAKE_THREAD_LIBS_INIT} TBB::tbb TBB::tbbmalloc f target_precompile_headers(common INTERFACE + + + + + + + + + + + + + + + + + + + + ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7399d68e..14c453da 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -29,6 +29,8 @@ endif() target_link_libraries(tests libqbsp liblight libvis common TBB::tbb TBB::tbbmalloc doctest::doctest fmt::fmt nanobench::nanobench) +target_compile_definitions(tests PRIVATE DOCTEST_CONFIG_SUPER_FAST_ASSERTS) + # HACK: copy .dll dependencies add_custom_command(TARGET tests POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "$" "$"