source:
code/branches/FICN/cmake/FindZlib.cmake
@
536
Last change on this file since 536 was 536, checked in by landauf, 16 years ago | |
---|---|
File size: 439 bytes |
Rev | Line | |
---|---|---|
[536] | 1 | IF(WIN32) |
2 | IF(EXISTS "../libs/ogre/Dependencies/lib/Release") | |
3 | SET (Zlib_LIBRARY_DIR "../libs/ogre/Dependencies/lib/Release") | |
4 | ENDIF(EXISTS "../libs/ogre/Dependencies/lib/Release") | |
5 | ||
6 | FIND_LIBRARY(Zlib_LIBRARY | |
7 | NAMES zlib | |
8 | PATHS ${Zlib_LIBRARY_DIR} | |
9 | ) | |
10 | ||
11 | IF(Zlib_LIBRARY) | |
12 | MESSAGE(STATUS "Zlib was found.") | |
13 | ELSE(Zlib_LIBRARY) | |
14 | MESSAGE(FATAL_ERROR "Zlib was NOT found.") | |
15 | ENDIF(Zlib_LIBRARY) | |
16 | ENDIF(WIN32) |
Note: See TracBrowser
for help on using the repository browser.