Skip to content

Commit

Permalink
🐛 Fixed missing discord-rpc package
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherFoxGuy committed Dec 10, 2023
1 parent ee39e84 commit 5a3086b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ endif()

set(SCREENSHARE 0)

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")

Expand Down
6 changes: 2 additions & 4 deletions cmake/macros/TargetDiscordRPC.cmake
Original file line number Diff line number Diff line change
@@ -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()
1 change: 1 addition & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def layout(self):
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")
Expand Down

0 comments on commit 5a3086b

Please sign in to comment.