summaryrefslogtreecommitdiff
path: root/compileoptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'compileoptions.cmake')
-rw-r--r--compileoptions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/compileoptions.cmake b/compileoptions.cmake
index 718e9d34f1..9f9f28eaf5 100644
--- a/compileoptions.cmake
+++ b/compileoptions.cmake
@@ -123,7 +123,7 @@ if (WIN32)
endif (WIN32)
-if(CMAKE_ENABLE_CODE_COVERAGE)
+if(CLR_CMAKE_ENABLE_CODE_COVERAGE)
if(CLR_CMAKE_PLATFORM_UNIX)
string(TOUPPER ${CMAKE_BUILD_TYPE} UPPERCASE_CMAKE_BUILD_TYPE)
@@ -140,4 +140,4 @@ if(CMAKE_ENABLE_CODE_COVERAGE)
message(FATAL_ERROR "Code coverage builds not supported on current platform")
endif(CLR_CMAKE_PLATFORM_UNIX)
-endif(CMAKE_ENABLE_CODE_COVERAGE)
+endif(CLR_CMAKE_ENABLE_CODE_COVERAGE)