refs #4871 fix finding of gcov47

git-svn-id: file:///svn/toku/tokudb@46067 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
TokuBuild 2013-04-17 00:01:01 -04:00 committed by Yoni Fogel
parent 389599b1a4
commit 720ca62b9d

View file

@ -30,7 +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)
find_program(COVERAGE_COMMAND NAMES gcov47 gcov)
endif (USE_GCOV)
include(CheckCCompilerFlag)