From 3483022703fd6f84a7873ee40ba95f9deaa7f3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20S=2E=20Ga=C3=9Fmann?= Date: Mon, 29 May 2023 15:30:02 +0200 Subject: [PATCH] build: Remove redundant cmake version check The main `CMakelists.txt` already asserts a minimum version of `3.12` which renders the condition `cmake <= 3.11.4` to be always false. --- cmake/ftxui_test.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/ftxui_test.cmake b/cmake/ftxui_test.cmake index 3c9850d..a9d67d6 100644 --- a/cmake/ftxui_test.cmake +++ b/cmake/ftxui_test.cmake @@ -1,5 +1,4 @@ -if (NOT FTXUI_BUILD_TESTS OR - NOT ${CMAKE_VERSION} VERSION_GREATER "3.11.4") +if (NOT FTXUI_BUILD_TESTS) return() endif()