add -dl on unix

This commit is contained in:
Bill Hoffman 2005-07-12 17:23:44 -04:00
parent df8e9a8c66
commit d938397b17
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -114,7 +114,7 @@ IF(HAVE_PTHREADS)
ENDIF(HAVE_PTHREADS)
ADD_EXECUTABLE(xrtest synch_client.c)
TARGET_LINK_LIBRARIES(xrtest cmXMLRPC)
TARGET_LINK_LIBRARIES(xrtest cmXMLRPC ${CMAKE_DL_LIBS})
# comment out test since it doesn pass and Andy doesn;t seem to be fixing it,
# for now assume that XMLRPC is not production quality code - Ken