qt: add missing target_link_libraries for discordrpc

This commit is contained in:
Nguyen Marc 2023-10-14 01:15:28 +02:00
parent b1a7bbd458
commit 22e4add562
No known key found for this signature in database
GPG Key ID: 529D0EC3EA377F13
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ if (USE_DISCORD_PRESENCE)
discord_impl.cpp
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)
target_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE)
endif()