From 03bf934fbe93ef04d6c62c64912d2f212db997b7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 1 Nov 2018 08:35:48 -0400 Subject: curl: Modernize tiny test code used for build inside CMake Drop unused code. Report the error message on failure. Format the source file using clang-format. --- Utilities/cmcurl/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Utilities/cmcurl/CMakeLists.txt') diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 2d6def47e5..27b7507f69 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -1285,11 +1285,11 @@ endif() #----------------------------------------------------------------------------- # CMake-specific curl code. -add_executable(LIBCURL curltest.c) -target_link_libraries(LIBCURL cmcurl) +add_executable(curltest curltest.c) +target_link_libraries(curltest cmcurl) if(BUILD_TESTING AND CMAKE_CURL_TEST_URL) - add_test(curl LIBCURL ${CMAKE_CURL_TEST_URL}) + add_test(curl curltest ${CMAKE_CURL_TEST_URL}) endif() install(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmcurl) -- cgit v1.2.1