mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 10:47:45 +00:00
cmake: only add network component if qt used
This commit is contained in:
parent
53b16898b2
commit
3ecb91a4cd
1 changed files with 4 additions and 1 deletions
|
@ -384,7 +384,10 @@ if (USE_DISCORD_PRESENCE)
|
|||
discord_impl.cpp
|
||||
discord_impl.h
|
||||
)
|
||||
target_link_libraries(yuzu PRIVATE DiscordRPC::discord-rpc httplib::httplib Qt${QT_MAJOR_VERSION}::Network)
|
||||
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_compile_definitions(yuzu PRIVATE -DUSE_DISCORD_PRESENCE)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue