summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-06-27 11:27:02 +0200
committerworktycho <work.tycho@gmail.com>2014-06-27 11:27:02 +0200
commit62669f64dec3f615518af56a864a72d5c18280b8 (patch)
tree385fc37de48b7138492765efa084afe40ad207aa
parentCMake: Added log message for coverage. (diff)
downloadcuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar.gz
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar.bz2
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar.lz
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar.xz
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.tar.zst
cuberite-62669f64dec3f615518af56a864a72d5c18280b8.zip
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 903ae0ca8..3f91e3d9c 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -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)