Remove websocketResponseTest from windows shared library env (#2170)

This commit is contained in:
An Tao 2024-09-25 20:16:40 +08:00 committed by GitHub
parent b0c5331bc1
commit 13d7148764
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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})