diff options
author | Benoit Neil <suky0001@free.fr> | 2009-04-02 13:14:53 +0000 |
---|---|---|
committer | Benoit Neil <suky0001@free.fr> | 2009-04-02 13:14:53 +0000 |
commit | 4c5307b45655ba75ab066564afdc0c111a8b9291 (patch) | |
tree | e18012433e3aa3c55b3853b1de78d16ebcf192f7 /CMake/FindZLIB.cmake | |
parent | 626f9bd8c2c5a6b4088a0e04cfc25949aded8407 (diff) |
Initial CMake scripts (libcurl only), based on the merge of tetest scripts and mine. These are far to be functionnal yet.
PS: Hello world :)
Diffstat (limited to 'CMake/FindZLIB.cmake')
-rw-r--r-- | CMake/FindZLIB.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMake/FindZLIB.cmake b/CMake/FindZLIB.cmake new file mode 100644 index 000000000..cf3637bc4 --- /dev/null +++ b/CMake/FindZLIB.cmake @@ -0,0 +1,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() |