mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
refs #4871 use gcov47 when possible
git-svn-id: file:///svn/toku/tokudb@46020 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
4cd1d10dda
commit
e6fbdbdf81
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ if (USE_GCOV)
|
||||||
if (NOT CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
if (NOT CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||||
message(FATAL_ERROR "Must use the GNU compiler to compile for test coverage.")
|
message(FATAL_ERROR "Must use the GNU compiler to compile for test coverage.")
|
||||||
endif ()
|
endif ()
|
||||||
|
find_path(COVERAGE_COMMAND NAMES gcov47 gcov)
|
||||||
endif (USE_GCOV)
|
endif (USE_GCOV)
|
||||||
|
|
||||||
include(CheckCCompilerFlag)
|
include(CheckCCompilerFlag)
|
||||||
|
|
Loading…
Add table
Reference in a new issue