summaryrefslogtreecommitdiff
path: root/CMake/FindZLIB.cmake
blob: 87f1d4fe894fe40f8c5841abbc6c20bf7b5c0e3e (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()