refs #4871 use gcov47 when possible

git-svn-id: file:///svn/toku/tokudb@46020 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Leif Walsh 2013-04-17 00:01:01 -04:00 committed by Yoni Fogel
parent 4cd1d10dda
commit e6fbdbdf81

View file

@ -30,6 +30,7 @@ if (USE_GCOV)
if (NOT CMAKE_CXX_COMPILER_ID MATCHES GNU)
message(FATAL_ERROR "Must use the GNU compiler to compile for test coverage.")
endif ()
find_path(COVERAGE_COMMAND NAMES gcov47 gcov)
endif (USE_GCOV)
include(CheckCCompilerFlag)