Skip to content

Commit

Permalink
cmake: Require CMake 3.16
Browse files Browse the repository at this point in the history
Bump the minimum required CMake version to 3.16. This is already fact
because required by ethash. Also specify max version 3.23 for policy
settings.
  • Loading branch information
chfast committed Jun 18, 2022
1 parent 3ebb633 commit ef93a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2019 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.16...3.23)

if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/evmc/.git)
message(FATAL_ERROR "Git submodules not initialized, execute:\n git submodule update --init")
Expand Down

0 comments on commit ef93a38

Please sign in to comment.