Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /CMakeModules/FindZLIB.cmake [9e26cc] .. [832b36] Maximize Restore

  Switch to side-by-side view

--- a/CMakeModules/FindZLIB.cmake
+++ b/CMakeModules/FindZLIB.cmake
@@ -24,6 +24,7 @@
   /usr/local/include
   /usr/include
   ${SOURCE_BASE_DIR}/zlib
+  ${SOURCE_BASE_DIR}/zlib/include
   ${wxWidgets_ROOT_DIR}/src/zlib
 )
 
@@ -32,7 +33,7 @@
 find_library_with_debug(ZLIB_LIBRARIES
   WIN32_DEBUG_POSTFIX d
   NAMES z zlib zlib1 wxzlib
-  PATHS /usr/lib /usr/local/lib ${SOURCE_BASE_DIR}/zlib ${wxWidgets_LIB_DIR}
+  PATHS ${SYSTEM_LIB_DIRS} ${SOURCE_BASE_DIR}/zlib/lib ${SOURCE_BASE_DIR}/zlib ${wxWidgets_LIB_DIR}
 )