Skip to content

Commit

Permalink
bump cmake minimum required to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
asas1asas200 committed Nov 15, 2023
1 parent 12e95ab commit e0d5047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.12)
project(pycdc)

set(CMAKE_CXX_STANDARD 11)
Expand All @@ -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}")
Expand Down

0 comments on commit e0d5047

Please sign in to comment.