From 8aaf645b1f6fd95aea26ee82f08bb71aa706aa44 Mon Sep 17 00:00:00 2001 From: BeyondWUXF <46481385+BeyondWUXF@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:07:25 +0800 Subject: [PATCH 1/3] link ssl --- test/Router/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Router/CMakeLists.txt b/test/Router/CMakeLists.txt index 2752656..8bae3a5 100644 --- a/test/Router/CMakeLists.txt +++ b/test/Router/CMakeLists.txt @@ -14,7 +14,7 @@ foreach(TEST_CPP ${TEST_CPPS}) add_executable(test-${TEST_NAME} ${TEST_CPP}) - target_link_libraries(test-${TEST_NAME} gtest gmock libRouter cache_comm tarsservant tarsutil mysqlclient) + target_link_libraries(test-${TEST_NAME} gtest gmock libRouter cache_comm tarsservant tarsutil mysqlclient ssl crypto) add_dependencies(test-${TEST_NAME} libRouter cache_comm TarsComm ProxyServer RouterServer KVCacheServer MKVCacheServer) From 1e103fb415f199314456946ada2ec6e4782de703 Mon Sep 17 00:00:00 2001 From: BeyondWUXF <46481385+BeyondWUXF@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:07:44 +0800 Subject: [PATCH 2/3] link ssl --- test/Proxy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Proxy/CMakeLists.txt b/test/Proxy/CMakeLists.txt index fc1fb7b..2e0583f 100644 --- a/test/Proxy/CMakeLists.txt +++ b/test/Proxy/CMakeLists.txt @@ -14,7 +14,7 @@ foreach(TEST_CPP ${TEST_CPPS}) add_executable(test-${TEST_NAME} ${TEST_CPP}) - target_link_libraries(test-${TEST_NAME} mysqlclient gtest gmock libProxy cache_comm tarsservant tarsutil) + target_link_libraries(test-${TEST_NAME} mysqlclient gtest gmock libProxy cache_comm tarsservant tarsutil ssl crypto) add_dependencies(test-${TEST_NAME} libProxy cache_comm TarsComm ProxyServer RouterServer KVCacheServer MKVCacheServer) From 01dd01505820814049c6b54c2215a59dcc6fc77f Mon Sep 17 00:00:00 2001 From: BeyondWUXF <46481385+BeyondWUXF@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:07:58 +0800 Subject: [PATCH 3/3] Update CMakeLists.txt --- test/KVCacheServer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/KVCacheServer/CMakeLists.txt b/test/KVCacheServer/CMakeLists.txt index 681f6d8..3c6358b 100644 --- a/test/KVCacheServer/CMakeLists.txt +++ b/test/KVCacheServer/CMakeLists.txt @@ -18,7 +18,7 @@ foreach(TEST_CPP ${TEST_CPPS}) add_executable(test-${TEST_NAME} ${TEST_CPP}) - target_link_libraries(test-${TEST_NAME} mysqlclient gtest gmock tarsservant libKVCacheServer cache_comm tarsutil ${ZLIB_LIBRARIES}) + target_link_libraries(test-${TEST_NAME} mysqlclient gtest gmock tarsservant libKVCacheServer cache_comm tarsutil ${ZLIB_LIBRARIES} ssl crypto) add_dependencies(test-${TEST_NAME} libKVCacheServer cache_comm TarsComm ProxyServer RouterServer KVCacheServer MKVCacheServer)