From 00131b82d00a585a995f6986a5a3ad4751364547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Thu, 17 Aug 2023 14:09:47 +0200 Subject: [PATCH] [CMake] Make Python3 required dependency we basically use it everywhere. --- CMakeLists.txt | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cedd85ab8..8446fc6cff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin) set(CMAKE_FIND_FRAMEWORK NEVER) endif() -find_package(Python3 COMPONENTS Interpreter) +find_package(Python3 COMPONENTS Interpreter REQUIRED) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED YES) diff --git a/README.md b/README.md index de904c921a..ad0c629555 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ Tools can be acquired via instructions in [third_party](/third_party/README.md). Required packages: - C++ compiler with C++17 support - [CMake](https://cmake.org/) >= 3.14.0 +- Python v3.6.6 or later For development and contributions: - clang-format-15.0 (can be installed with `python -m pip install clang-format==15.0.7`)