diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 34208ed74..62392e993 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt | |||
| @@ -384,7 +384,10 @@ if (USE_DISCORD_PRESENCE) | |||
| 384 | discord_impl.cpp | 384 | discord_impl.cpp |
| 385 | discord_impl.h | 385 | discord_impl.h |
| 386 | ) | 386 | ) |
| 387 | target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib Qt${QT_MAJOR_VERSION}::Network) | 387 | target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib) |
| 388 | if (ENABLE_QT) | ||
| 389 | target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::Network) | ||
| 390 | endif() | ||
| 388 | target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE) | 391 | target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE) |
| 389 | endif() | 392 | endif() |
| 390 | 393 | ||