]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build: Remove obsolete CMake version check
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 8 Mar 2024 19:43:53 +0000 (20:43 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 16 Mar 2024 20:54:53 +0000 (21:54 +0100)
CMakeLists.txt

index 4add5942171989f28b2b6661262ba9538dfa6983..0a769cbfc70ab0b693d741d07a5a1fb70af94178 100644 (file)
@@ -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(