diff -r 845b5ae03841 -r 04dd8b7fb605 QTfrontend/CMakeLists.txt --- 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()