diff options
author | Aki <please@ignore.pl> | 2022-06-07 16:54:43 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-06-07 16:54:43 +0200 |
commit | b9e96d1b28eb5fa69f5c8e572e13695669354b23 (patch) | |
tree | 8f47178c46048b77d22fa4b0d92762a53f911c65 /library | |
parent | bf0ff8b3ae273ba52a79ff3952cf103f5ed131e3 (diff) | |
download | hwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.zip hwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.tar.gz hwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.tar.bz2 |
Renamed internal common to config
Diffstat (limited to 'library')
-rw-r--r-- | library/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/src/client.cpp | 4 |
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; } |