Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 1:12:45 AM (16 years ago)
Author:
landauf
Message:

fixed some parts of the cmake-files to work with windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/cmake/FindZLIB.cmake

    r790 r1445  
    5858  ENDIF(EXISTS "../libs/ogre/Dependencies/lib/Release")
    5959
     60  FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
     61    ../libs/ogre/Dependencies/include
     62  )
     63
    6064  FIND_LIBRARY(ZLIB_LIBRARY
    6165    NAMES zlib
     
    6367  )
    6468
    65   IF(ZLIB_LIBRARY)
     69  IF(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR)
    6670    MESSAGE(STATUS "Zlib was found.")
    67   ELSE(ZLIB_LIBRARY)
     71  ELSE(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR)
    6872    MESSAGE(FATAL_ERROR "Zlib was NOT found.")
    69   ENDIF(ZLIB_LIBRARY)
     73  ENDIF(ZLIB_LIBRARY AND ZLIB_INCLUDE_DIR)
    7074ENDIF(WIN32)
Note: See TracChangeset for help on using the changeset viewer.