From 02f82e96945b47e71e90bf78402e5fc69cb326c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 16 Mar 2015 21:56:27 +0100 Subject: NOISSUE Z_PREFIX for QuaZip --- quazip.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quazip.patch b/quazip.patch index ff263d25..bbd0bb1e 100644 --- a/quazip.patch +++ b/quazip.patch @@ -12,7 +12,7 @@ Index: quazip/CMakeLists.txt =================================================================== --- quazip/CMakeLists.txt (revision 250) +++ quazip/CMakeLists.txt (working copy) -@@ -14,10 +14,11 @@ +@@ -14,10 +14,14 @@ qt_wrap_cpp(MOC_SRCS ${PUBLIC_HEADERS}) set(SRCS ${SRCS} ${MOC_SRCS}) @@ -24,6 +24,9 @@ Index: quazip/CMakeLists.txt -target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARIES}) +target_link_libraries(quazip ${ZLIB_LIBRARIES}) +qt5_use_modules(quazip Core) ++if(WIN32) ++ add_definitions(-DZ_PREFIX) ++endif() install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip) install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION}) -- cgit v1.2.3