From 749be5ff16fa2f9157e3e00de31a8e6fc5c5908e Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 8 Mar 2024 20:43:53 +0100 Subject: [PATCH] build: Remove obsolete CMake version check --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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( -- 2.47.2