group clocks in location UI and region editor so that they all change modes together
[ardour2.git] / libs / taglib / cmake / modules / FindCppUnit.cmake
blob08dd42dab8d735fa99c3fa162c6d26ec818f2214
1 INCLUDE(UsePkgConfig)
2 PKGCONFIG(cppunit _CppUnitIncDir _CppUnitLinkDir _CppUnitLinkFlags _CppUnitCflags)
4 FIND_PATH(CPPUNIT_INCLUDE_DIR cppunit/TestCase.h
5     ${_CppUnitIncDir}
6     /usr/local/include
7     /usr/include
10 FIND_LIBRARY(CPPUNIT_LIBRARIES cppunit
11     ${_CppUnitLinkDir}
12     /usr/local/lib
13     /usr/lib
16 IF (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARIES)
17     SET(CPPUNIT_FOUND TRUE)
18 ENDIF (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARIES)
20 IF (CPPUNIT_FOUND)
21     IF (NOT CppUnit_FIND_QUIETLY)
22         MESSAGE(STATUS "Found CppUnit: ${CPPUNIT_LIBRARIES}")
23     ENDIF (NOT CppUnit_FIND_QUIETLY)
24 ELSE (CPPUNIT_FOUND)
25     IF (CppUnit_FIND_REQUIRED)
26         MESSAGE(FATAL_ERROR "Could not find CppUnit")
27     ENDIF (CppUnit_FIND_REQUIRED)
28 ENDIF (CPPUNIT_FOUND)