Commit a6a4edc9 authored by Jan Möbius's avatar Jan Möbius

Raised cmake version required to 3.12

parent e57e6a04
# Force minimal cmake version
# Required 3.8 to use source_group TREE
cmake_minimum_required(VERSION 3.8.0 FATAL_ERROR)
# Required 3.12 to use findPython3
cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
file(SHA512 ${CMAKE_SOURCE_DIR}/CMakeLists.txt HASH_TOPLEVEL_CMAKEFILE)
file(SHA512 ${CMAKE_SOURCE_DIR}/OpenFlipper/cmake/CMakeLists.txt HASH_LATEST_CMAKEFILE)
......@@ -82,7 +83,7 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${_more_macro_directories})
# Python support
# ========================================================================
find_package(Python3 COMPONENTS Development)
find_package(Python COMPONENTS Development)
if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed)
add_subdirectory(OpenFlipper/libs_required/pybind11)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment