From 832e974ab4ffb1cea7c063a5122ca7508874a072 Mon Sep 17 00:00:00 2001 From: Be Date: Sat, 6 Feb 2021 02:13:16 -0600 Subject: [PATCH] use /FS for final link --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80fb23482d48..e376c1ac09d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1118,6 +1118,9 @@ endif() add_executable(mixxx WIN32 src/main.cpp) set_target_properties(mixxx-lib PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY}") target_link_libraries(mixxx PUBLIC mixxx-lib) +if(SCCACHE_SUPPORT AND MSVC) + target_link_options(mixxx PUBLIC /FS) +endif() # # Installation and Packaging