From f5465f680418672bb2072197b68818007123513e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 20 Jan 2019 23:19:42 +0100 Subject: [PATCH] modules: updated FindCorrade.cmake. --- modules/FindCorrade.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/FindCorrade.cmake b/modules/FindCorrade.cmake index 760caa406..f6bc09c17 100644 --- a/modules/FindCorrade.cmake +++ b/modules/FindCorrade.cmake @@ -387,8 +387,8 @@ foreach(_component ${Corrade_FIND_COMPONENTS}) endif() endif() - # Header-only library components (CMake >= 3.0) - if(_component MATCHES ${_CORRADE_HEADER_ONLY_COMPONENTS} AND NOT CMAKE_VERSION VERSION_LESS 3.0.0) + # Header-only library components + if(_component MATCHES ${_CORRADE_HEADER_ONLY_COMPONENTS}) add_library(Corrade::${_component} INTERFACE IMPORTED) endif()