Improve path to discord-rpc with non-MSVC
The path is set in https://github.com/RPCS3/rpcs3/blob/96cabeadff0c5a2052137a94f81c88912bcd5d44/3rdparty/CMakeLists.txt#L159
This commit is contained in:
Vendored
+1
-1
@@ -168,7 +168,7 @@ if (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE)
|
||||
set(DISCORD_RPC_LIB NOTFOUND)
|
||||
if (WIN32)
|
||||
if (NOT MSVC)
|
||||
set(DISCORD_RPC_LIB ${CMAKE_BINARY_DIR}/discord-rpc/src/libdiscord-rpc.a)
|
||||
set(DISCORD_RPC_LIB ${CMAKE_CURRENT_BINARY_DIR}/discord-rpc/src/libdiscord-rpc.a)
|
||||
else()
|
||||
find_library(DISCORD_RPC_LIB discord-rpc PATHS discord-rpc/lib/ NO_DEFAULT_PATH)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user