root/branch/3.2.2/FindCppUnit.cmake
| Revision 487, 315 bytes (checked in by dexity, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | |
| 2 | find_path(CPPUNIT_INCLUDE_DIR |
| 3 | TestSuite.h |
| 4 | /usr/include/cppunit /usr/local/include/cppunit) |
| 5 | |
| 6 | find_library(CPPUNIT_LIBRARY |
| 7 | NAMES cppunit-1.12 cppunit |
| 8 | PATH /usr/lib /usr/local/lib) |
| 9 | |
| 10 | if (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARY) |
| 11 | set(CPPUNIT_FOUND on) |
| 12 | endif (CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARY) |
Note: See TracBrowser
for help on using the browser.
