From: Joel Rosdahl Date: Fri, 8 Mar 2024 19:43:53 +0000 (+0100) Subject: build: Remove obsolete CMake version check X-Git-Tag: v4.10~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749be5ff16fa2f9157e3e00de31a8e6fc5c5908e;p=thirdparty%2Fccache.git build: Remove obsolete CMake version check --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4add5942..0a769cbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,10 +157,7 @@ if(ENABLE_TESTING) add_subdirectory(unittest) add_subdirectory(test) - # Note: VERSION_GREATER_EQUAL requires CMake 3.17 - if(NOT ${CMAKE_VERSION} VERSION_LESS "3.17") - list(APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure") - endif() + list(APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure") # Add "check" target which compiles and runs tests. set(