diff options
| author | 2023-10-14 08:46:05 +0200 | |
|---|---|---|
| committer | 2023-10-14 08:46:05 +0200 | |
| commit | 63c5340cc4c64e81056f75aaffcca38f5235441f (patch) | |
| tree | ab40c56f220fa9e137ddc16c493e3af2d7126180 /src | |
| parent | cmake: only add network component if qt used (diff) | |
| download | yuzu-63c5340cc4c64e81056f75aaffcca38f5235441f.tar.gz yuzu-63c5340cc4c64e81056f75aaffcca38f5235441f.tar.xz yuzu-63c5340cc4c64e81056f75aaffcca38f5235441f.zip | |
Revert "cmake: only add network component if qt used"
This reverts commit a94371f67b9da4fd1f421b2088b4366e3e58a1ad.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 62392e993..34208ed74 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt | |||
| @@ -384,10 +384,7 @@ 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) | 387 | target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib Qt${QT_MAJOR_VERSION}::Network) |
| 388 | if (ENABLE_QT) | ||
| 389 | target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::Network) | ||
| 390 | endif() | ||
| 391 | target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE) | 388 | target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE) |
| 392 | endif() | 389 | endif() |
| 393 | 390 | ||