diff --git a/CMakeLists.txt b/CMakeLists.txt index 28bbe1d..6d123f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ set(sources source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" FILES ${sources}) add_library(ftp ${sources}) -add_library(ftp::client ALIAS ftp) +add_library(ftp::ftp ALIAS ftp) target_link_libraries(ftp PUBLIC Boost::boost) target_include_directories(ftp PUBLIC include) diff --git a/apps/cmdline/CMakeLists.txt b/apps/cmdline/CMakeLists.txt index be4f153..2a4d67e 100644 --- a/apps/cmdline/CMakeLists.txt +++ b/apps/cmdline/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable(cmdline src/utils.cpp src/utils.hpp) -target_link_libraries(cmdline PRIVATE ftp::client Boost::boost) +target_link_libraries(cmdline PRIVATE ftp::ftp Boost::boost) target_compile_features(cmdline PRIVATE cxx_std_17) add_subdirectory(tests) \ No newline at end of file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7f89748..2d6e35e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -29,7 +29,7 @@ add_executable(ftp_tests ${sources}) target_link_libraries(ftp_tests PRIVATE - ftp::client + ftp::ftp Boost::boost Boost::filesystem gtest_main