summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2014-10-12 21:36:30 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:49:02 -0700
commitc3a55f7e867951f23fef1b1943b6447540381ff9 (patch)
tree567af80a5ed1a0eea5dba4939c6f48f146a5a24e /gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake
parente6fe7162e8fd41eef2140529f0e1b8bcfbde0ae9 (diff)
cmake: modtool: update Modules to GR master
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake')
-rw-r--r--gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake
index 9af308f84b..f93ade3412 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/FindCppUnit.cmake
@@ -15,6 +15,7 @@ PKG_CHECK_MODULES(PC_CPPUNIT "cppunit")
FIND_PATH(CPPUNIT_INCLUDE_DIRS
NAMES cppunit/TestCase.h
HINTS ${PC_CPPUNIT_INCLUDE_DIR}
+ ${CMAKE_INSTALL_PREFIX}/include
PATHS
/usr/local/include
/usr/include
@@ -23,6 +24,8 @@ FIND_PATH(CPPUNIT_INCLUDE_DIRS
FIND_LIBRARY(CPPUNIT_LIBRARIES
NAMES cppunit
HINTS ${PC_CPPUNIT_LIBDIR}
+ ${CMAKE_INSTALL_PREFIX}/lib
+ ${CMAKE_INSTALL_PREFIX}/lib64
PATHS
${CPPUNIT_INCLUDE_DIRS}/../lib
/usr/local/lib