summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-06-27 11:45:43 +0200
committerworktycho <work.tycho@gmail.com>2014-06-27 11:45:43 +0200
commit9e1829e4e6de6cf3c6686a8add8317706968bd46 (patch)
tree7cd60ff732badc93e680f5a871a553f860d6aee2
parentUpdate SetFlags.cmake (diff)
downloadcuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar.gz
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar.bz2
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar.lz
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar.xz
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.tar.zst
cuberite-9e1829e4e6de6cf3c6686a8add8317706968bd46.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 3f91e3d9c..0b5593b19 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -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)