summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-09-08 22:32:24 +0200
committerPetr Mrázek <peterix@gmail.com>2013-09-08 22:32:24 +0200
commitd6ba7d5494f14f67871366cf103452720a26fe88 (patch)
tree1abc7878f389940d0eef6ab3a21cf639a444436e
parent8062b73074b8e3c94fd97b77b05e7dbb61205d41 (diff)
parent05de1e75e9316ce7e8e5ca3ac21c7405e170fd68 (diff)
downloadMultiMC-d6ba7d5494f14f67871366cf103452720a26fe88.tar
MultiMC-d6ba7d5494f14f67871366cf103452720a26fe88.tar.gz
MultiMC-d6ba7d5494f14f67871366cf103452720a26fe88.tar.lz
MultiMC-d6ba7d5494f14f67871366cf103452720a26fe88.tar.xz
MultiMC-d6ba7d5494f14f67871366cf103452720a26fe88.zip
Merge branch 'test' into develop
-rw-r--r--depends/quazip/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/quazip/CMakeLists.txt b/depends/quazip/CMakeLists.txt
index a9adcefe..48fdb6be 100644
--- a/depends/quazip/CMakeLists.txt
+++ b/depends/quazip/CMakeLists.txt
@@ -5,7 +5,8 @@ project(quazip)
IF(UNIX)
find_package(ZLIB REQUIRED)
ELSE(UNIX)
- SET(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE PATH "Path to ZLIB headers of Qt")
+ get_filename_component (ZLIB_FOUND_DIR "${Qt5Core_DIR}/../../../include/QtZlib" ABSOLUTE)
+ SET(ZLIB_INCLUDE_DIRS ${ZLIB_FOUND_DIR} CACHE PATH "Path to ZLIB headers of Qt")
SET(ZLIB_LIBRARIES "")
IF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h")
MESSAGE("Please specify a valid zlib include dir")