2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Revert "cmake: only add network component if qt used"

This reverts commit a94371f67b.
This commit is contained in:
Nguyen Marc 2023-10-14 08:46:05 +02:00
parent a94371f67b
commit 63c5340cc4
No known key found for this signature in database
GPG key ID: 529D0EC3EA377F13

View file

@ -384,10 +384,7 @@ if (USE_DISCORD_PRESENCE)
discord_impl.cpp
discord_impl.h
)
target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib)
if (ENABLE_QT)
target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::Network)
endif()
target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib Qt${QT_MAJOR_VERSION}::Network)
target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE)
endif()