diff options
Diffstat (limited to 'CMake/FindZLIB.cmake')
-rw-r--r-- | CMake/FindZLIB.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMake/FindZLIB.cmake b/CMake/FindZLIB.cmake index cf3637bc4..87f1d4fe8 100644 --- a/CMake/FindZLIB.cmake +++ b/CMake/FindZLIB.cmake @@ -1,8 +1,8 @@ # Locate zlib -INCLUDE("${CMAKE_ROOT}/Modules/FindZLIB.cmake") +include("${CMAKE_ROOT}/Modules/FindZLIB.cmake") -FIND_LIBRARY(ZLIB_LIBRARY_DEBUG NAMES zd zlibd zdlld zlib1d ) +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() +if(ZLIB_FOUND AND ZLIB_LIBRARY_DEBUG) + set( ZLIB_LIBRARIES optimized "${ZLIB_LIBRARY}" debug ${ZLIB_LIBRARY_DEBUG}) +endif() |