Exclude Discord RPC lib from installation

This vendored library does not need to be installed,
as it is statically linked in.
This commit is contained in:
Ryan Burns 2020-12-02 19:23:28 -08:00
parent b148b56fba
commit aefbf9c445
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ endif()
if(USE_DISCORD_PRESENCE)
message(STATUS "Using static DiscordRPC from Externals")
add_subdirectory(Externals/discord-rpc)
add_subdirectory(Externals/discord-rpc EXCLUDE_FROM_ALL)
include_directories(Externals/discord-rpc/include)
endif()