From 3e5322944d7fe938178717cbc3679becd07f3ead 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 88eb3c8..6142d5f 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()