summaryrefslogtreecommitdiff
path: root/libs/taglib/cmake/modules/FindCppUnit.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libs/taglib/cmake/modules/FindCppUnit.cmake')
-rw-r--r--libs/taglib/cmake/modules/FindCppUnit.cmake28
1 files changed, 0 insertions, 28 deletions
diff --git a/libs/taglib/cmake/modules/FindCppUnit.cmake b/libs/taglib/cmake/modules/FindCppUnit.cmake
deleted file mode 100644
index 08dd42dab8..0000000000
--- a/libs/taglib/cmake/modules/FindCppUnit.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-INCLUDE(UsePkgConfig)
-PKGCONFIG(cppunit _CppUnitIncDir _CppUnitLinkDir _CppUnitLinkFlags _CppUnitCflags)
-
-FIND_PATH(CPPUNIT_INCLUDE_DIR cppunit/TestCase.h
- ${_CppUnitIncDir}
- /usr/local/include
- /usr/include
-)
-
-FIND_LIBRARY(CPPUNIT_LIBRARIES cppunit
- ${_CppUnitLinkDir}
- /usr/local/lib
- /usr/lib
-)
-
-IF (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARIES)
- SET(CPPUNIT_FOUND TRUE)
-ENDIF (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARIES)
-
-IF (CPPUNIT_FOUND)
- IF (NOT CppUnit_FIND_QUIETLY)
- MESSAGE(STATUS "Found CppUnit: ${CPPUNIT_LIBRARIES}")
- ENDIF (NOT CppUnit_FIND_QUIETLY)
-ELSE (CPPUNIT_FOUND)
- IF (CppUnit_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find CppUnit")
- ENDIF (CppUnit_FIND_REQUIRED)
-ENDIF (CPPUNIT_FOUND)