diff options
author | Brad King <brad.king@kitware.com> | 2023-08-01 18:03:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-01 18:03:26 (GMT) |
commit | 4eff1f4ac28849a3e32139689b6c8444230c0b38 (patch) | |
tree | aed9bfe81bafc45e988fd297cc00a7aa8be655b9 /Utilities | |
parent | 188c065e5a447e4c659426e0c27051928c8adb6e (diff) | |
download | CMake-4eff1f4ac28849a3e32139689b6c8444230c0b38.zip CMake-4eff1f4ac28849a3e32139689b6c8444230c0b38.tar.gz CMake-4eff1f4ac28849a3e32139689b6c8444230c0b38.tar.bz2 |
curl: Remove curlu library not needed for building within CMake
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcurl/lib/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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") |