From 13d714876485a1a55969bed99cf5fa437dced0c3 Mon Sep 17 00:00:00 2001 From: An Tao Date: Wed, 25 Sep 2024 20:16:40 +0800 Subject: [PATCH] Remove websocketResponseTest from windows shared library env (#2170) --- lib/tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests/CMakeLists.txt b/lib/tests/CMakeLists.txt index a73e9930..92e4c63b 100644 --- a/lib/tests/CMakeLists.txt +++ b/lib/tests/CMakeLists.txt @@ -28,7 +28,6 @@ set(UNITTEST_SOURCES unittests/SlashRemoverTest.cc unittests/UtilitiesTest.cc unittests/UuidUnittest.cc - unittests/WebsocketResponseTest.cc ) if(DROGON_CXX_STANDARD GREATER_EQUAL 20 AND HAS_COROUTINE) @@ -43,7 +42,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC" AND BUILD_SHARED_LIBS) set(UNITTEST_SOURCES ${UNITTEST_SOURCES} ../src/HttpUtils.cc) else() set(UNITTEST_SOURCES ${UNITTEST_SOURCES} ../src/HttpFileImpl.cc - unittests/HttpFileTest.cc) + unittests/HttpFileTest.cc + unittests/WebsocketResponseTest.cc) endif() add_executable(unittest ${UNITTEST_SOURCES})