diff options
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/Curl/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt index 515b411..ea34d80 100644 --- a/Source/CTest/Curl/CMakeLists.txt +++ b/Source/CTest/Curl/CMakeLists.txt @@ -88,6 +88,11 @@ IF(HAVE_LIBWS2_32) SET(CURL_LIBS ${CURL_LIBS} ws2_32) ENDIF(HAVE_LIBWS2_32) +CHECK_LIBRARY_EXISTS("winmm;${CURL_LIBS}" printf "" HAVE_LIBWINMM) +IF(HAVE_LIBWINMM) + SET(CURL_LIBS ${CURL_LIBS} winmm) +ENDIF(HAVE_LIBWINMM) + CHECK_LIBRARY_EXISTS("z;${CURL_LIBS}" inflateEnd "" HAVE_LIBZ) IF(HAVE_LIBZ) SET(CURL_LIBS ${CURL_LIBS} z) |