mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-26 19:32:40 -06:00
Revert "cmake: only add network component if qt used"
This reverts commit a94371f67b
.
This commit is contained in:
parent
a94371f67b
commit
63c5340cc4
1 changed files with 1 additions and 4 deletions
|
@ -384,10 +384,7 @@ if (USE_DISCORD_PRESENCE)
|
||||||
discord_impl.cpp
|
discord_impl.cpp
|
||||||
discord_impl.h
|
discord_impl.h
|
||||||
)
|
)
|
||||||
target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib)
|
target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib Qt${QT_MAJOR_VERSION}::Network)
|
||||||
if (ENABLE_QT)
|
|
||||||
target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::Network)
|
|
||||||
endif()
|
|
||||||
target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE)
|
target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue