From ccc7fb7985cee9d4b39df7551c5df4f379460ef1 Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Thu, 6 May 2021 17:53:48 -0700 Subject: [PATCH] Remove test/warning about CMake version < 3.11 (#1009) The top-level CMakeLists.txt already requires 3.12, so the test is unnecessary and confusing. Signed-off-by: Cary Phillips --- cmake/OpenEXRSetup.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/OpenEXRSetup.cmake b/cmake/OpenEXRSetup.cmake index 8e35a9afee..bd27247965 100644 --- a/cmake/OpenEXRSetup.cmake +++ b/cmake/OpenEXRSetup.cmake @@ -259,9 +259,6 @@ find_package(Imath QUIET) set(CMAKE_IGNORE_PATH) if(NOT TARGET Imath::Imath AND NOT Imath_FOUND) - if (${CMAKE_VERSION} VERSION_LESS "3.11.0") - message(FATAL_ERROR "CMake 3.11 or newer is required for FetchContent, you must manually install Imath if you are using an earlier version of CMake") - endif() message(STATUS "Imath was not found, installing from ${IMATH_REPO} (${IMATH_TAG})") include(FetchContent)