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
23 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
25 IF (NOT CPPUNIT_FOUND AND BUILD_TESTS)
26 MESSAGE(STATUS "CppUnit not found, disabling tests.")
28 ENDIF(NOT CPPUNIT_FOUND AND BUILD_TESTS)