QTfrontend/CMakeLists.txt
branchphysfslayer
changeset 8055 04dd8b7fb605
parent 8052 845b5ae03841
child 8073 5a289ef40fdb
--- a/QTfrontend/CMakeLists.txt	Sun Nov 18 00:37:23 2012 +0400
+++ b/QTfrontend/CMakeLists.txt	Sun Nov 18 00:58:57 2012 +0400
@@ -15,16 +15,6 @@
     include(${QT_USE_FILE})
 endif()
 
-# Check if we need zlib
-check_library_exists("${QT_QTCORE_LIBRARY}" inflateInit2_ ${QT_LIBRARY_DIR} QT_PROVIDES_ZLIB_FUNCTIONS)
-
-if(NOT QT_PROVIDES_ZLIB_FUNCTIONS)
-    find_package(ZLIB REQUIRED)
-
-    set(HW_LINK_LIBS ${ZLIB_LIBRARIES} ${HW_LINK_LIBS})
-endif()
-
-
 # Configure for SDL
 find_package(SDL REQUIRED)
 find_package(SDL_mixer REQUIRED)
@@ -43,7 +33,6 @@
 include_directories(${SDL_INCLUDE_DIR})
 include_directories(${SDLMIXER_INCLUDE_DIR})
 include_directories(${FFMPEG_INCLUDE_DIR})
-include_directories(${CMAKE_SOURCE_DIR}/misc/quazip)
 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/extras)
 if(UNIX)
@@ -178,7 +167,6 @@
 
 
 set(HW_LINK_LIBS
-    quazip
     physfs
     physfsrwops
     ${QT_LIBRARIES}
@@ -204,7 +192,7 @@
 
 
 if (CROSSAPPLE)
-    add_dependencies(hedgewars quazip)
+
 else()
     target_link_libraries(hedgewars ${HW_LINK_LIBS})
 endif()