1
0
Fork 0

Update SetFlags.cmake

This commit is contained in:
worktycho 2014-06-27 10:45:43 +01:00
parent 62669f64de
commit 9e1829e4e6
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ endmacro()
macro(set_flags)
# Add coverage processing, if requested:
if (CMAKE_BUILD_TYPE STREQUALS "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)