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.
This commit is contained in:
James Le Cuirot 2022-06-07 22:07:27 +01:00 committed by Christoph Oelckers
parent 07a8701f8d
commit 3f9842dabb
1 changed files with 1 additions and 1 deletions

View File

@ -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 )