From d959ac9954e7edab487e64676cf61bb120961e0b Mon Sep 17 00:00:00 2001 From: James R <justsomejames2@gmail.com> Date: Mon, 20 Feb 2023 17:53:09 -0800 Subject: [PATCH] thirdparty/cpm-discordrpc.cmake: fix GCC 9.4.0 Ubuntu link --- thirdparty/cpm-discordrpc.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/thirdparty/cpm-discordrpc.cmake b/thirdparty/cpm-discordrpc.cmake index 078ebaab59..2243bbc0f3 100644 --- a/thirdparty/cpm-discordrpc.cmake +++ b/thirdparty/cpm-discordrpc.cmake @@ -58,6 +58,7 @@ if(DiscordRPC_ADDED) target_sources(discord-rpc PRIVATE "${DiscordRPC_SOURCE_DIR}/src/discord_register_linux.cpp" ) + target_link_libraries(discord-rpc PUBLIC pthread) endif() endif() endif() -- GitLab