summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-24 19:52:03 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-24 19:52:03 (GMT)
commit9f7b60969009c643dfa411b5f786b855078a6541 (patch)
tree6e8bfd505a483ab090f6b527abb314d39a2d55d1 /Utilities/cmcurl/CMakeLists.txt
parentd81c4db489d773e4a1ce6be49eb9c41582e68ae3 (diff)
parenta834bcaa9100f552b7f40e2f439fe3afc972e2f1 (diff)
downloadCMake-9f7b60969009c643dfa411b5f786b855078a6541.zip
CMake-9f7b60969009c643dfa411b5f786b855078a6541.tar.gz
CMake-9f7b60969009c643dfa411b5f786b855078a6541.tar.bz2
Merge branch 'fix-no-testing' into release-3.13
Merge-request: !2520
Diffstat (limited to 'Utilities/cmcurl/CMakeLists.txt')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 8e0378c..636530e 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -1289,7 +1289,7 @@ endif()
add_executable(LIBCURL curltest.c)
target_link_libraries(LIBCURL cmcurl)
-if(CMAKE_CURL_TEST_URL)
+if(BUILD_TESTING AND CMAKE_CURL_TEST_URL)
add_test(curl LIBCURL ${CMAKE_CURL_TEST_URL})
endif()