OSDN Git Service

[UI][Qt] Remove unneeded Qt classes from GUI.
[csp-qt/common_source_project-fm7.git] / doc / cotire / Patches / zlib-1.2.6.patch
1 diff -rupN zlib-1.2.6/CMakeLists.txt zlib-1.2.6.cotire/CMakeLists.txt
2 --- zlib-1.2.6/CMakeLists.txt   2012-01-17 03:51:23.000000000 +0100
3 +++ zlib-1.2.6.cotire/CMakeLists.txt    2012-03-24 21:08:41.000000000 +0100
4 @@ -7,6 +7,8 @@ if(NOT DEFINED BUILD_SHARED_LIBS)
5      option(BUILD_SHARED_LIBS "Build a shared library form of zlib" ON)
6  endif()
7  
8 +include("${CMAKE_SOURCE_DIR}/cotire.cmake") 
9 +
10  include(CheckTypeSize)
11  include(CheckFunctionExists)
12  include(CheckIncludeFile)
13 @@ -176,6 +178,10 @@ if(NOT SKIP_INSTALL_FILES AND NOT SKIP_I
14      install(FILES zlib.3 DESTINATION share/man/man3)
15  endif()
16  
17 +if (COMMAND cotire)
18 +       cotire(zlib)
19 +endif()
20 +
21  #============================================================================
22  # Example binaries
23  #============================================================================