From e24f4b57f3255cc723a29562c86607e9c8f529c2 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk <roman@tsisyk.com> Date: Fri, 11 Jan 2013 18:23:35 +0400 Subject: [PATCH] Fix inverted logic in profile.cmake --- cmake/profile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/profile.cmake b/cmake/profile.cmake index 3d5d570d02..c5278e6832 100644 --- a/cmake/profile.cmake +++ b/cmake/profile.cmake @@ -1,6 +1,6 @@ check_library_exists (gcov __gcov_flush "" HAVE_GCOV) -if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") +if (CMAKE_BUILD_TYPE STREQUAL "Debug") set(ENABLE_GCOV_DEFAULT ON) else() set(ENABLE_GCOV_DEFAULT OFF) -- GitLab