diff --git a/modules/FindCorrade.cmake b/modules/FindCorrade.cmake index ac4a93060..328f6bd0c 100644 --- a/modules/FindCorrade.cmake +++ b/modules/FindCorrade.cmake @@ -27,6 +27,8 @@ # mode for GCC 4.5 # CORRADE_GCC44_COMPATIBILITY - Defined if compiled with compatibility # mode for GCC 4.4 +# CORRADE_MSVC2013_COMPATIBILITY - Defined if compiled with compatibility +# mode for MSVC 2013 # CORRADE_BUILD_DEPRECATED - Defined if compiled with deprecated APIs # included # CORRADE_BUILD_STATIC - Defined if compiled as static libraries @@ -175,6 +177,10 @@ string(FIND "${_corradeConfigure}" "#define CORRADE_GCC44_COMPATIBILITY" _GCC44_ if(NOT _GCC44_COMPATIBILITY EQUAL -1) set(CORRADE_GCC44_COMPATIBILITY 1) endif() +string(FIND "${_corradeConfigure}" "#define CORRADE_MSVC2013_COMPATIBILITY" _MSVC2013_COMPATIBILITY) +if(NOT _MSVC2013_COMPATIBILITY EQUAL -1) + set(CORRADE_MSVC2013_COMPATIBILITY 1) +endif() string(FIND "${_corradeConfigure}" "#define CORRADE_BUILD_DEPRECATED" _BUILD_DEPRECATED) if(NOT _BUILD_DEPRECATED EQUAL -1) set(CORRADE_BUILD_DEPRECATED 1)