From 4eff1f4ac28849a3e32139689b6c8444230c0b38 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Aug 2023 14:03:26 -0400 Subject: curl: Remove curlu library not needed for building within CMake --- Utilities/cmcurl/lib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utilities/cmcurl/lib/CMakeLists.txt b/Utilities/cmcurl/lib/CMakeLists.txt index 20249fe..d5d3aa6 100644 --- a/Utilities/cmcurl/lib/CMakeLists.txt +++ b/Utilities/cmcurl/lib/CMakeLists.txt @@ -89,6 +89,7 @@ add_library( ${CMAKE_CURL_SSL_DLLS} ) +if(0) # This code not needed for building within CMake. add_library( curlu # special libcurlu library just for unittests STATIC @@ -96,6 +97,7 @@ add_library( ${HHEADERS} ${CSOURCES} ) target_compile_definitions(curlu PUBLIC UNITTESTS CURL_STATICLIB) +endif() add_library( ${PROJECT_NAME}::${LIB_NAME} @@ -113,7 +115,9 @@ if(NOT BUILD_SHARED_LIBS) endif() target_link_libraries(${LIB_NAME} PRIVATE ${CURL_LIBS}) +if(0) # This code not needed for building within CMake. target_link_libraries(curlu PRIVATE ${CURL_LIBS}) +endif() if(0) # This code not needed for building within CMake. transform_makefile_inc("Makefile.soname" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake") -- cgit v0.12