Commit a0ffb929 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Fix testing of curl on windows

parent aeb08658
......@@ -276,7 +276,7 @@ IF(BUILD_TESTING)
ADD_TEST(curl ${CMake_BINARY_DIR}/Source/cmaketest
${CMake_SOURCE_DIR}/Source/CTest/Curl
${CMake_BINARY_DIR}/Tests/Curl
curltest)
LIBCURL)
IF (APPLE)
ADD_TEST(objc++ ${CMake_BINARY_DIR}/Source/cmaketest
......
......@@ -356,5 +356,5 @@ IF(CURL_TESTING)
SUBDIRS(Testing)
ENDIF(CURL_TESTING)
ADD_EXECUTABLE(curltest Testing/curltest.c)
TARGET_LINK_LIBRARIES(curltest Curl)
\ No newline at end of file
ADD_EXECUTABLE(LIBCURL Testing/curltest.c)
TARGET_LINK_LIBRARIES(LIBCURL Curl)
\ No newline at end of file
IF(WIN32)
SET(HAVE_LIBWINMM 1)
SET(HAVE_LIBWS2_32 1)
SET(HAVE_GETHOSTNAME 1)
SET(HAVE_GETHOSTBYADDR 1)
SET(HAVE_GETSERVBYNAME 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment