Changeset 1445 for code/branches/network/cmake/FindZLIB.cmake
- Timestamp:
- May 28, 2008, 1:12:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/cmake/FindZLIB.cmake
r790 r1445 58 58 ENDIF(EXISTS "../libs/ogre/Dependencies/lib/Release") 59 59 60 FIND_PATH(ZLIB_INCLUDE_DIR zlib.h 61 ../libs/ogre/Dependencies/include 62 ) 63 60 64 FIND_LIBRARY(ZLIB_LIBRARY 61 65 NAMES zlib … … 63 67 ) 64 68 65 IF(ZLIB_LIBRARY )69 IF(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR) 66 70 MESSAGE(STATUS "Zlib was found.") 67 ELSE(ZLIB_LIBRARY )71 ELSE(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR) 68 72 MESSAGE(FATAL_ERROR "Zlib was NOT found.") 69 ENDIF(ZLIB_LIBRARY )73 ENDIF(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR) 70 74 ENDIF(WIN32)
Note: See TracChangeset
for help on using the changeset viewer.