~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to cmake/modules/FindCppUnit.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
find_path(CPPUNIT_INCLUDE_DIR
 
3
    TestSuite.h PATH_SUFFIXES cppunit )
 
4
 
 
5
find_library(CPPUNIT_LIBRARY
 
6
    NAMES cppunit-1.12 cppunit )
 
7
 
 
8
if (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARY)
 
9
    set(CPPUNIT_FOUND on)
 
10
endif (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARY)
 
11
macro_log_feature(CPPUNIT_FOUND "CppUnit" "A C++ unit testing framework" "http://cppunit.sourceforge.net" FALSE "" "Needed for building the CppUnit test runner")