File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ FIND_PROGRAM(QT_LRELEASE_EXECUTABLE
271
271
# if WIN32 should use zlib from QT
272
272
FIND_PACKAGE (ZLIB )
273
273
IF (ZLIB_FOUND )
274
- MESSAGE (STATUS "Found zlib: ${ZLIB_LIBRARIES } " )
274
+ MESSAGE (STATUS "Found zlib: ${ZLIB_LIBRARY } " )
275
275
SET (HAVE_ZLIB TRUE )
276
276
ELSE (ZLIB_FOUND )
277
277
MESSAGE (STATUS "Could not find zlib (optional)" )
Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ cmake -G "Visual Studio 9 2008" ^
111
111
-D QT_PNG_LIBRARY=%O4W_ROOT% /lib/libpng13.lib ^
112
112
-D QWT_INCLUDE_DIR=%O4W_ROOT% /include/qwt ^
113
113
-D QWT_LIBRARY=%O4W_ROOT% /lib/qwt5.lib ^
114
+ -D ZLIB_INCLUDE_DIR=%O4W_ROOT% /include ^
115
+ -D ZLIB_LIBRARY=%O4W_ROOT% /lib/zlib.lib ^
114
116
-D CMAKE_INSTALL_PREFIX=%O4W_ROOT% /apps/%PACKAGENAME% ^
115
117
-D CMAKE_CXX_FLAGS_RELWITHDEBINFO=" /MD /ZI /Od /D NDEBUG" ^
116
118
-D FCGI_INCLUDE_DIR=%O4W_ROOT% /include ^
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ cmake -G "Visual Studio 9 2008" ^
109
109
-D QT_PNG_LIBRARY=%O4W_ROOT% /lib/libpng13.lib ^
110
110
-D QWT_INCLUDE_DIR=%O4W_ROOT% /include/qwt ^
111
111
-D QWT_LIBRARY=%O4W_ROOT% /lib/qwt5.lib ^
112
+ -D ZLIB_INCLUDE_DIR=%O4W_ROOT% /include ^
113
+ -D ZLIB_LIBRARY=%O4W_ROOT% /lib/zlib.lib ^
112
114
-D CMAKE_INSTALL_PREFIX=%O4W_ROOT% /apps/%PACKAGENAME% ^
113
115
-D CMAKE_CXX_FLAGS_RELWITHDEBINFO=" /MD /ZI /Od /D NDEBUG" ^
114
116
-D FCGI_INCLUDE_DIR=%O4W_ROOT% /include ^
Original file line number Diff line number Diff line change @@ -178,6 +178,8 @@ SET(QGIS_CORE_SRCS
178
178
)
179
179
180
180
IF (HAVE_ZLIB )
181
+ ADD_DEFINITIONS (-DQUAZIP_BUILD )
182
+
181
183
SET (QGIS_CORE_SRCS
182
184
${QGIS_CORE_SRCS}
183
185
quazip/unzip.c
You can’t perform that action at this time.
1 commit comments
etiennesky commentedon Apr 25, 2012
thanks, Jurgen!