From e200ff743ba6911b4814202c0b6eb952aecaab55 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Tue, 16 Jan 2024 17:21:45 +0100 Subject: [PATCH] try to fix test/cmake --- test/CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7e2610395..185a7b0bc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -159,16 +159,8 @@ endif() # Main target object # -set(LINKLIBS re ${OPENSSL_LIBRARIES}) -if(WIN32) - list(APPEND LINKLIBS qwave iphlpapi wsock32 ws2_32) -else() - list(APPEND LINKLIBS m ${RESOLV_LIBRARY}) -endif() - -if(ZLIB_FOUND) - list(APPEND LINKLIBS ZLIB::ZLIB) -endif() +set(LINKLIBS re) +list(APPEND LINKLIBS ${RE_LIBS}) add_executable(${PROJECT_NAME} ${SRCS}) set_property(TARGET ${PROJECT_NAME} PROPERTY ENABLE_EXPORTS 1)