summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-02 01:14:35 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-02 01:43:00 +0200
commit32f45578fd7f152f3132c8891195c6d5c5c52be3 (patch)
treeed7d1110517ad4c9eefc69e09fc64f6e776e41a8 /CMakeLists.txt
parent2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3 (diff)
downloadMultiMC-32f45578fd7f152f3132c8891195c6d5c5c52be3.tar
MultiMC-32f45578fd7f152f3132c8891195c6d5c5c52be3.tar.gz
MultiMC-32f45578fd7f152f3132c8891195c6d5c5c52be3.tar.lz
MultiMC-32f45578fd7f152f3132c8891195c6d5c5c52be3.tar.xz
MultiMC-32f45578fd7f152f3132c8891195c6d5c5c52be3.zip
NOISSUE fix build issues
Hopefully all
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ca94a98f..a21f23c3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,6 @@ find_package(Qt5Concurrent REQUIRED)
find_package(Qt5Network REQUIRED)
find_package(Qt5Test REQUIRED)
find_package(Qt5Xml REQUIRED)
-find_package(Qt5WebKitWidgets REQUIRED)
include_directories(
${Qt5Core_INCLUDE_DIRS}
@@ -87,7 +86,13 @@ ExternalProject_Add(QuaZIP
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_CXX_FLAGS_DEBUG=${CMAKE_CXX_FLAGS_DEBUG} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
)
include_directories("${CMAKE_BINARY_DIR}/External/Install/QuaZIP/include/quazip")
+if(UNIX)
+set(QUAZIP_LIBRARIES -L"${CMAKE_BINARY_DIR}/External/Install/QuaZIP/lib" quazip z)
+else()
set(QUAZIP_LIBRARIES -L"${CMAKE_BINARY_DIR}/External/Install/QuaZIP/lib" quazip)
+endif()
+
+
# Add the java launcher and checker
add_subdirectory(depends/launcher)