We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282fbcc commit 1e6a4dcCopy full SHA for 1e6a4dc
3rdparty/discord-rpc/CMakeLists.txt
@@ -9,5 +9,7 @@ if (USE_DISCORD_RPC AND (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE))
9
set(WARNINGS_AS_ERRORS FALSE CACHE BOOL "When enabled, compiles with `-Werror` (on *nix platforms).")
10
11
add_subdirectory(discord-rpc EXCLUDE_FROM_ALL)
12
+ target_include_directories(3rdparty_discordRPC INTERFACE discord-rpc/include)
13
+ target_compile_definitions(3rdparty_discordRPC INTERFACE -DWITH_DISCORD_RPC)
14
target_link_libraries(3rdparty_discordRPC INTERFACE discord-rpc)
15
endif()
0 commit comments