diff --git a/sdk/cmake/config-amd64.cmake b/sdk/cmake/config-amd64.cmake index 46a9293d2eb..f99fe6a925f 100644 --- a/sdk/cmake/config-amd64.cmake +++ b/sdk/cmake/config-amd64.cmake @@ -46,5 +46,5 @@ set(_PREFAST_ FALSE CACHE BOOL "Whether to enable PREFAST while compiling.") # RTC are incompatible with compiler optimizations. cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON - "CMAKE_BUILD_TYPE STREQUAL \"Debug\"" OFF) + "CMAKE_BUILD_TYPE STREQUAL Debug" OFF) endif() diff --git a/sdk/cmake/config-arm.cmake b/sdk/cmake/config-arm.cmake index 3290d76a166..2fd55a21453 100644 --- a/sdk/cmake/config-arm.cmake +++ b/sdk/cmake/config-arm.cmake @@ -47,5 +47,5 @@ set(NEWSPRINTF FALSE CACHE BOOL if(MSVC) # RTC are incompatible with compiler optimizations. cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON - "CMAKE_BUILD_TYPE STREQUAL \"Debug\"" OFF) + "CMAKE_BUILD_TYPE STREQUAL Debug" OFF) endif() diff --git a/sdk/cmake/config.cmake b/sdk/cmake/config.cmake index 37a6f949901..255e6502fe1 100644 --- a/sdk/cmake/config.cmake +++ b/sdk/cmake/config.cmake @@ -90,7 +90,7 @@ set(_VS_ANALYZE_ FALSE CACHE BOOL "Whether to enable static analysis while compiling.") # RTC are incompatible with compiler optimizations. cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON - "CMAKE_BUILD_TYPE STREQUAL \"Debug\"" OFF) + "CMAKE_BUILD_TYPE STREQUAL Debug" OFF) endif() if(GCC)