mirror of
https://github.com/overte-org/overte.git
synced 2025-04-05 22:32:49 +02:00
Co-authored-by: Maki <mxmcube@gmail.com> Co-authored-by: Dale Glass <dale@daleglass.net>
6 lines
333 B
CMake
6 lines
333 B
CMake
macro(TARGET_DISCORD_RPC)
|
|
find_library(DISCORD_RPC_LIBRARY_RELEASE discord-rpc PATHS ${VCPKG_INSTALL_ROOT}/lib)
|
|
find_library(DISCORD_RPC_LIBRARY_DEBUG discord-rpc PATHS ${VCPKG_INSTALL_ROOT}/debug/lib)
|
|
select_library_configurations(DISCORD_RPC)
|
|
target_link_libraries(${TARGET_NAME} ${DISCORD_RPC_LIBRARY})
|
|
endmacro()
|