Skip to content

Commit 1e6a4dc

Browse files
VestrelAniLeo
authored andcommitted
Fix discord after #16885
1 parent 282fbcc commit 1e6a4dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

3rdparty/discord-rpc/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ if (USE_DISCORD_RPC AND (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE))
99
set(WARNINGS_AS_ERRORS FALSE CACHE BOOL "When enabled, compiles with `-Werror` (on *nix platforms).")
1010

1111
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)
1214
target_link_libraries(3rdparty_discordRPC INTERFACE discord-rpc)
1315
endif()

0 commit comments

Comments
 (0)