summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-03 06:19:09 +0200
committerarchshift <admin@archshift.com>2014-07-03 06:19:09 +0200
commit6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c (patch)
tree4832f061361d3f659af541617d356174351903bc /SetFlags.cmake
parentMerge pull request #1138 from mc-server/enderchest (diff)
downloadcuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar.gz
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar.bz2
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar.lz
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar.xz
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.tar.zst
cuberite-6f0a538385ee3fce2fa3e3ffd11bf23dd8db278c.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 339174e5c..bf467ca01 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -28,7 +28,8 @@ endmacro()
macro(set_flags)
# Add coverage processing, if requested:
if (NOT MSVC)
- if (${CMAKE_BUILD_TYPE} STREQUAL "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)