cmake: Don't use PCH with Qt6.

This commit is contained in:
Admiral H. Curtiss
2022-05-22 01:19:44 +02:00
parent 6ea7af13e8
commit 580c721c82
19 changed files with 90 additions and 3 deletions

View File

@ -311,8 +311,7 @@ endif()
if(MSVC)
# Add precompiled header
# it will propergate down to everything that depends on common
target_link_libraries(common PUBLIC use_pch)
target_link_libraries(common PRIVATE use_pch)
# We need to disable PCH for this one file, because it's C and our PCH is C++
set_source_files_properties(