summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/CMakeLists.txt2
-rw-r--r--library/src/client.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index a454186..71ed16c 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -8,7 +8,7 @@ add_library(${PROJECT_NAME} SHARED
target_link_libraries(${PROJECT_NAME}
PUBLIC rpclib::rpc
PUBLIC Threads::Threads
- PRIVATE common
+ PRIVATE config
)
target_include_directories(${PROJECT_NAME}
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
diff --git a/library/src/client.cpp b/library/src/client.cpp
index 187f36e..d58e411 100644
--- a/library/src/client.cpp
+++ b/library/src/client.cpp
@@ -2,11 +2,11 @@
#include <rpc/client.h>
-#include <hwd/internal.h>
+#include <hwd/config.h>
rpc::client & get_client()
{
- static rpc::client c(hwd::internal::host(), hwd::internal::port());
+ static rpc::client c(hwd::config::host(), hwd::config::port());
return c;
}