From d197b5775e51ea61d72e61e5a7df5559dbd8eedf Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 30 Aug 2023 11:27:20 +0200 Subject: [PATCH] Remove obsolete part from cmake configuration files Spdlog requires CMake version 3.10 or higher (by means of `cmake_minimum_required(VERSION 3.10...3.21)`) --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 407d9976..beffd3c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,9 +129,7 @@ option( option(SPDLOG_DISABLE_DEFAULT_LOGGER "Disable default logger creation" OFF) # clang-tidy -if(${CMAKE_VERSION} VERSION_GREATER "3.5") - option(SPDLOG_TIDY "run clang-tidy" OFF) -endif() +option(SPDLOG_TIDY "run clang-tidy" OFF) if(SPDLOG_TIDY) set(CMAKE_CXX_CLANG_TIDY "clang-tidy")