diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-27 11:27:02 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-27 11:27:02 +0200 |
commit | 62669f64dec3f615518af56a864a72d5c18280b8 (patch) | |
tree | 385fc37de48b7138492765efa084afe40ad207aa /SetFlags.cmake | |
parent | CMake: Added log message for coverage. (diff) | |
download | cuberite-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 |
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r-- | SetFlags.cmake | 2 |
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) |