diff --git a/modules/FindCorrade.cmake b/modules/FindCorrade.cmake index aafe3d710..20e4b80a1 100644 --- a/modules/FindCorrade.cmake +++ b/modules/FindCorrade.cmake @@ -34,6 +34,8 @@ # Features of found Corrade library are exposed in these variables: # CORRADE_GCC47_COMPATIBILITY - Defined if compiled with compatibility # mode for GCC 4.7 +# CORRADE_MSVC2015_COMPATIBILITY - Defined if compiled with compatibility +# mode for MSVC 2015 # CORRADE_BUILD_DEPRECATED - Defined if compiled with deprecated APIs # included # CORRADE_BUILD_STATIC - Defined if compiled as static libraries @@ -191,6 +193,7 @@ endif() file(READ ${CORRADE_INCLUDE_DIR}/Corrade/configure.h _corradeConfigure) set(_corradeFlags GCC47_COMPATIBILITY + MSVC2015_COMPATIBILITY BUILD_DEPRECATED BUILD_STATIC TARGET_UNIX