diff --git a/CMakeLists.txt b/CMakeLists.txt index bc17e6c01ed..d267e926af7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2064,7 +2064,7 @@ 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_options(mixxx-test -fsanitize=thread) target_link_libraries(mixxx-test PRIVATE mixxx-lib mixxx-gitinfostore GTest::gtest GTest::gmock) find_package(benchmark)