summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-12 21:23:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-12 21:23:44 (GMT)
commitd938397b1761dc69ba5554b668fab400876d0be1 (patch)
tree49facd7b406fcbdebe810542c45283fe944ba316 /Utilities/cmcurl
parentdf8e9a8c6635392d6a1db0f58fc7fc5b4daa4132 (diff)
downloadCMake-d938397b1761dc69ba5554b668fab400876d0be1.zip
CMake-d938397b1761dc69ba5554b668fab400876d0be1.tar.gz
CMake-d938397b1761dc69ba5554b668fab400876d0be1.tar.bz2
add -dl on unix
Diffstat (limited to 'Utilities/cmcurl')
-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 afd027a..146203e 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -582,5 +582,5 @@ IF(CURL_TESTING)
ENDIF(CURL_TESTING)
ADD_EXECUTABLE(LIBCURL Testing/curltest.c)
-TARGET_LINK_LIBRARIES(LIBCURL cmcurl)
+TARGET_LINK_LIBRARIES(LIBCURL cmcurl ${CMAKE_DL_LIBS})
ADD_TEST(curl "${EXECUTABLE_OUTPUT_PATH}/LIBCURL")