summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-10 15:25:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-10 15:25:00 (GMT)
commit684fb1b3954d0d2be516c20c023093d68cb63610 (patch)
tree9a5a475baaba298afdaf8a85472b21c1c310d30d /Source
parent6db9a44b1616c038ea186c9827c0efb9babedbe9 (diff)
downloadCMake-684fb1b3954d0d2be516c20c023093d68cb63610.zip
CMake-684fb1b3954d0d2be516c20c023093d68cb63610.tar.gz
CMake-684fb1b3954d0d2be516c20c023093d68cb63610.tar.bz2
On Windows we need winmm
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/Curl/CMakeLists.txt5
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)