From e0d50470e9d53526b92ccd84bea9abadc4487356 Mon Sep 17 00:00:00 2001 From: asas1asas200 Date: Wed, 15 Nov 2023 16:07:43 +0800 Subject: [PATCH] bump cmake minimum required to 3.12 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 223467d79..a01520071 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.12) project(pycdc) set(CMAKE_CXX_STANDARD 11) @@ -17,7 +17,7 @@ if (ENABLE_STACK_DEBUG) endif() # For generating the bytes tables -find_package(Python REQUIRED) +find_package(Python COMPONENTS Interpreter REQUIRED) if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wshadow -Werror ${CMAKE_CXX_FLAGS}")