1
0
Fork 0

Update SetFlags.cmake

This commit is contained in:
worktycho 2014-06-27 10:27:02 +01:00
parent 78442edf1d
commit 62669f64de
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 (BUILD_WITH_COVERAGE)
if (CMAKE_BUILD_TYPE STREQUALS "COVERAGE")
message("Including CodeCoverage")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/lib/cmake-coverage/")
include(CodeCoverage)