From d8800b80d5f84251ed39acf7441b401315f66338 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 23 Apr 2025 19:23:01 +0200 Subject: [PATCH] CMake: Move discord-rpc to same target_link_libraries --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbdf38f04..ca5395766 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1555,6 +1555,7 @@ target_link_libraries(strawberry_lib PUBLIC $<$:dsound dwmapi getopt-win::getopt> $<$:WindowsApp> KDAB::kdsingleapplication + $<$:discord-rpc> ) if(APPLE) @@ -1573,10 +1574,6 @@ if(APPLE) endif() endif() -if(HAVE_DISCORD_RPC) - target_link_libraries(strawberry_lib PRIVATE discord-rpc) -endif() - target_link_libraries(strawberry PUBLIC strawberry_lib) if(NOT APPLE)