🐛 Fixed missing discord-rpc package

This commit is contained in:
Edgar 2023-11-08 14:43:57 +01:00
parent a5bbe91b12
commit b7131197aa
No known key found for this signature in database
GPG key ID: 3C2E1F2C1C353131
3 changed files with 6 additions and 4 deletions

View file

@ -178,6 +178,9 @@ else()
set(MOBILE 0)
endif()
set(DISABLE_WEBRTC true) # TODO: remove
add_compile_definitions(DISABLE_WEBRTC)
# Use default time server if none defined in environment
set_from_env(TIMESERVER_URL TIMESERVER_URL "http://timestamp.comodoca.com?td=sha256")

View file

@ -1,6 +1,4 @@
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})
find_package(discord-rpc REQUIRED)
target_link_libraries(${TARGET_NAME} discord-rpc::discord-rpc)
endmacro()

View file

@ -42,6 +42,7 @@ class Overte(ConanFile):
def requirements(self):
self.requires("bullet3/3.25")
self.requires("draco/1.3.5")
self.requires("discord-rpc/3.4.0@anotherfoxguy/stable")
self.requires("etc2comp/cci.20170424")
self.requires("glad/0.1.36")
self.requires("gli/cci.20210515")