Skip to content

Commit

Permalink
compile tests with sanitizer falgs
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Nov 22, 2024
1 parent 0942fa5 commit f3f6f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2063,6 +2063,8 @@ if (QML)
endif()
find_package(GTest CONFIG REQUIRED)
set_target_properties(mixxx-test PROPERTIES AUTOMOC ON)
target_compile_options(mixxx-test -fsanitize=thread -g)
target_link_options(mixxx-test PUBLIC -fsanitize=thread)
target_link_libraries(mixxx-test PRIVATE mixxx-lib mixxx-gitinfostore GTest::gtest GTest::gmock)

find_package(benchmark)
Expand Down

0 comments on commit f3f6f4d

Please sign in to comment.