From 3f9842dabb0d6f9c7defaa3591ab243adc302b3c Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 7 Jun 2022 22:07:27 +0100 Subject: [PATCH] Exclude the Discord RPC library from "all" in CMake Otherwise the headers and separate library file get installed system-wide with the rest of GZDoom. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6ba69ad58..babb2715f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -329,7 +329,7 @@ if (HAVE_VULKAN) add_subdirectory( libraries/glslang/OGLCompilersDLL ) endif() -add_subdirectory( libraries/discordrpc ) +add_subdirectory( libraries/discordrpc EXCLUDE_FROM_ALL ) set( DRPC_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/discordrpc/include" ) set( DRPC_LIBRARIES discord-rpc ) set( DRPC_LIBRARY discord-rpc )