diff options
Diffstat (limited to 'Utilities/cmcurl/CMakeLists.txt')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index d7ff9aa..510851a 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -762,5 +762,9 @@ ENDIF(CURL_TESTING) ADD_EXECUTABLE(LIBCURL Testing/curltest.c) TARGET_LINK_LIBRARIES(LIBCURL cmcurl ${CMAKE_DL_LIBS}) -ADD_TEST(curl LIBCURL) + +IF(CMAKE_CURL_TEST_URL) + ADD_TEST(curl LIBCURL ${CMAKE_CURL_TEST_URL}) +ENDIF(CMAKE_CURL_TEST_URL) + INSTALL(FILES COPYING DESTINATION ${CMake_DOC_DEST}/cmcurl) |