aboutsummaryrefslogtreecommitdiff
path: root/CMake/FindZLIB.cmake
blob: cf3637bc47fb0ef990258986f4330b59e4a18fef (plain)
1
2
3
4
5
6
7
8
# Locate zlib
INCLUDE("${CMAKE_ROOT}/Modules/FindZLIB.cmake")

FIND_LIBRARY(ZLIB_LIBRARY_DEBUG NAMES zd zlibd zdlld zlib1d )

IF(ZLIB_FOUND AND ZLIB_LIBRARY_DEBUG)
  SET( ZLIB_LIBRARIES optimized "${ZLIB_LIBRARY}" debug ${ZLIB_LIBRARY_DEBUG})
ENDIF()