mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[CMAKE] Fix RUNTIME_CHECKS dependent option
Addendum to92dfec219d
anda2a6038e56
This commit is contained in:
parent
abcbd44641
commit
6bab72f69a
3 changed files with 3 additions and 3 deletions
|
@ -46,5 +46,5 @@ set(_PREFAST_ FALSE CACHE BOOL
|
||||||
"Whether to enable PREFAST while compiling.")
|
"Whether to enable PREFAST while compiling.")
|
||||||
# RTC are incompatible with compiler optimizations.
|
# RTC are incompatible with compiler optimizations.
|
||||||
cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON
|
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()
|
endif()
|
||||||
|
|
|
@ -47,5 +47,5 @@ set(NEWSPRINTF FALSE CACHE BOOL
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# RTC are incompatible with compiler optimizations.
|
# RTC are incompatible with compiler optimizations.
|
||||||
cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON
|
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()
|
endif()
|
||||||
|
|
|
@ -90,7 +90,7 @@ set(_VS_ANALYZE_ FALSE CACHE BOOL
|
||||||
"Whether to enable static analysis while compiling.")
|
"Whether to enable static analysis while compiling.")
|
||||||
# RTC are incompatible with compiler optimizations.
|
# RTC are incompatible with compiler optimizations.
|
||||||
cmake_dependent_option(RUNTIME_CHECKS "Whether to enable runtime checks on MSVC" ON
|
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()
|
endif()
|
||||||
|
|
||||||
if(GCC)
|
if(GCC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue