3 #At least on Win32 the includepath isn't set correctly sometimes
4 if (NOT EXISTS ${ZLIB_INCLUDE_DIR}/zlib.h)
5 if (EXISTS ${ZLIB_INCLUDE_DIR}/include/zlib.h)
6 set (${ZLIB_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}/include)
7 message (STATUS "zlib.h found in ${ZLIB_INCLUDE_DIR}")
9 message (FATAL_ERROR "No useable zlib.h found")