Skip to content
Snippets Groups Projects
Commit 7b6e6898 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Don't enable GCOV by default, make test is not ready for that.

When make test is run with gcov, coverage output files are
created. On the second run, when they are already there,
the server fails to start.
parent a2c922db
No related branches found
No related tags found
No related merge requests found
check_library_exists (gcov __gcov_flush "" HAVE_GCOV)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(ENABLE_GCOV_DEFAULT ON)
else()
set(ENABLE_GCOV_DEFAULT OFF)
endif()
set(ENABLE_GCOV_DEFAULT OFF)
option(ENABLE_GCOV "Enable integration with gcov, a code coverage program" ${ENABLE_GCOV_DEFAULT})
if (ENABLE_GCOV)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment