diff --git a/cmake/profile.cmake b/cmake/profile.cmake index c5278e68325b82704ec40ae9a56008c7bb23cc6f..94de41788032ed753dca12938923e20a738f11b9 100644 --- a/cmake/profile.cmake +++ b/cmake/profile.cmake @@ -1,10 +1,6 @@ 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)