From 46c1dccf181a82f2befde1a06b8bd4ad527f3713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Feb 2022 21:18:22 +0100 Subject: [PATCH] modules: updated FindCorrade.cmake. --- modules/FindCorrade.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/FindCorrade.cmake b/modules/FindCorrade.cmake index 39e7cd4b7..40b89b470 100644 --- a/modules/FindCorrade.cmake +++ b/modules/FindCorrade.cmake @@ -62,8 +62,8 @@ # # Features of found Corrade library are exposed in these variables: # -# CORRADE_MSVC2019_COMPATIBILITY - Defined if compiled with compatibility -# mode for MSVC 2019 +# CORRADE_MSVC_COMPATIBILITY - Defined if compiled with compatibility +# mode for MSVC 2019+ without the /permissive- flag set # CORRADE_MSVC2017_COMPATIBILITY - Defined if compiled with compatibility # mode for MSVC 2017 # CORRADE_MSVC2015_COMPATIBILITY - Defined if compiled with compatibility @@ -312,7 +312,7 @@ string(REGEX REPLACE "\n" ";" _corradeConfigure "${_corradeConfigure}") set(_corradeFlags MSVC2015_COMPATIBILITY MSVC2017_COMPATIBILITY - MSVC2019_COMPATIBILITY + MSVC_COMPATIBILITY BUILD_DEPRECATED BUILD_STATIC BUILD_STATIC_UNIQUE_GLOBALS