diff --git a/apps/cmdline/tests/CMakeLists.txt b/apps/cmdline/tests/CMakeLists.txt index 2b18b1f..751131c 100644 --- a/apps/cmdline/tests/CMakeLists.txt +++ b/apps/cmdline/tests/CMakeLists.txt @@ -10,8 +10,8 @@ add_executable(cmdline_tests target_link_libraries(cmdline_tests PRIVATE Boost::boost - gtest_main - gmock_main) + GTest::gtest_main + GTest::gmock_main) target_include_directories(cmdline_tests PRIVATE ../src) target_compile_features(cmdline_tests PRIVATE cxx_std_17) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2d6e35e..173eee6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -32,7 +32,7 @@ target_link_libraries(ftp_tests ftp::ftp Boost::boost Boost::filesystem - gtest_main - gmock_main) + GTest::gtest_main + GTest::gmock_main) add_test(ftp_tests ftp_tests) \ No newline at end of file