From 5b796454c1c10e03972d87766ea9552b0e35525a Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Thu, 5 Jan 2023 04:20:50 -0800 Subject: [PATCH] Bump required CMake to 3.11 --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07c1425..b3ecc6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,14 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -if (CMAKE_VERSION VERSION_LESS 3.0) - project(cppdap CXX C) -else() - cmake_policy(SET CMP0048 NEW) - project(cppdap VERSION 1.58.0 LANGUAGES CXX C) -endif() +cmake_policy(SET CMP0048 NEW) +project(cppdap VERSION 1.58.0 LANGUAGES CXX C) -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.11) set (CMAKE_CXX_STANDARD 11)