diff --git a/modules/FindCorrade.cmake b/modules/FindCorrade.cmake index b8fa94cf9d..87af04d2a8 100644 --- a/modules/FindCorrade.cmake +++ b/modules/FindCorrade.cmake @@ -158,7 +158,7 @@ if(NOT CORRADE_FOUND) endif() # Configuration -file(READ ${CORRADE_INCLUDE_DIR}/Corrade/configure.h _corradeConfigure) +file(READ ${_CORRADE_INCLUDE_DIR}/Corrade/configure.h _corradeConfigure) # Compatibility? string(FIND "${_corradeConfigure}" "#define CORRADE_GCC47_COMPATIBILITY" _GCC47_COMPATIBILITY)