mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
cmake: Don't use PCH with Qt6.
This commit is contained in:
parent
6ea7af13e8
commit
580c721c82
19 changed files with 90 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue