Copy local state in AudioRegionView copy constructor. Fixes #4047.
[ardour2.git] / libs / taglib / ConfigureChecks.cmake
blob033dab16994894b2a496f198d6762a2e0e94fc8f
1 # NOTE: only add something here if it is really needed by all of kdelibs.
2 #     Otherwise please prefer adding to the relevant config-foo.h.cmake file,
3 #     and the CMakeLists.txt that generates it (or a separate ConfigureChecks.make file if you prefer)
4 #     to minimize recompilations and increase modularity.
6 include(CheckIncludeFile)
7 include(CheckIncludeFiles)
8 include(CheckSymbolExists)
9 include(CheckFunctionExists)
10 include(CheckLibraryExists)
11 include(CheckTypeSize)
12 include(CheckCXXSourceCompiles)
14 #check for libz using the cmake supplied FindZLIB.cmake
15 FIND_PACKAGE(ZLIB)
17 IF(ZLIB_FOUND)
18         SET(HAVE_ZLIB 1)
19 ELSE(ZLIB_FOUND)
20         SET(HAVE_ZLIB 0)
21 ENDIF(ZLIB_FOUND)
23 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
24 FIND_PACKAGE(CppUnit)
25 IF (NOT CPPUNIT_FOUND AND BUILD_TESTS)
26         MESSAGE(STATUS "CppUnit not found, disabling tests.")
27         SET(BUILD_TESTS OFF)
28 ENDIF(NOT CPPUNIT_FOUND AND BUILD_TESTS)