Skip to content

Commit

Permalink
Exclude the Discord RPC library from "all" in CMake
Browse files Browse the repository at this point in the history
Otherwise the headers and separate library file get installed
system-wide with the rest of GZDoom.
  • Loading branch information
chewi authored and coelckers committed Jun 7, 2022
1 parent 07a8701 commit 3f9842d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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 )
Expand Down

0 comments on commit 3f9842d

Please sign in to comment.