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

@ -396,6 +396,9 @@ if (MSVC)
# Qt6 requires RTTI
remove_cxx_flag_from_target(dolphin-emu "/GR-")
target_compile_options(dolphin-emu PRIVATE "/GR")
else()
# Add precompiled header
target_link_libraries(audiocommon PRIVATE use_pch)
endif()
endif()