summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 339174e5c..bf467ca01 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -28,7 +28,8 @@ endmacro()
macro(set_flags)
# Add coverage processing, if requested:
if (NOT MSVC)
- if (${CMAKE_BUILD_TYPE} STREQUAL "COVERAGE")
+
+ if (CMAKE_BUILD_TYPE STREQUAL "COVERAGE")
message("Including CodeCoverage")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/lib/cmake-coverage/")
include(CodeCoverage)