From b8f5a57c64a59a2bc97673e2d232dded1b8252c7 Mon Sep 17 00:00:00 2001 From: Mikhail Paulyshka Date: Sun, 12 Oct 2014 16:33:38 +0300 Subject: [PATCH] Include ZLib headers for launcher and server --- launcher/CMakeLists.txt | 2 +- server/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index efe5efea4..bc77c8177 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -2,7 +2,7 @@ project(vcmilauncher) cmake_minimum_required(VERSION 2.8.7) include_directories(${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIR}) -include_directories(${Boost_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS}) +include_directories(${ZLIB_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS}) set(launcher_modmanager_SRCS modManager/cdownloadmanager_moc.cpp diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 44d0c1fda..1079a2ea5 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -2,7 +2,7 @@ project(vcmiserver) cmake_minimum_required(VERSION 2.6) include_directories(${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_HOME_DIRECTORY}/lib) -include_directories(${Boost_INCLUDE_DIRS}) +include_directories(${Boost_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR}) set(server_SRCS StdInc.cpp