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

@ -26,6 +26,11 @@ PRIVATE
cpp-optparse
)
if(MSVC)
# Add precompiled header
target_link_libraries(dolphin-nogui PRIVATE use_pch)
endif()
if(USE_DISCORD_PRESENCE)
target_compile_definitions(dolphin-nogui PRIVATE -DUSE_DISCORD_PRESENCE)
endif()