mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
On Windows we need winmm
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user