Update SetFlags.cmake
This commit is contained in:
parent
78442edf1d
commit
62669f64de
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user