Skip to content

Commit 00131b8

Browse files
[CMake] Make Python3 required dependency
we basically use it everywhere.
1 parent abfdadd commit 00131b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
1818
set(CMAKE_FIND_FRAMEWORK NEVER)
1919
endif()
2020

21-
find_package(Python3 COMPONENTS Interpreter)
21+
find_package(Python3 COMPONENTS Interpreter REQUIRED)
2222

2323
set(CMAKE_CXX_STANDARD 17)
2424
set(CMAKE_CXX_STANDARD_REQUIRED YES)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Tools can be acquired via instructions in [third_party](/third_party/README.md).
7777
Required packages:
7878
- C++ compiler with C++17 support
7979
- [CMake](https://cmake.org/) >= 3.14.0
80+
- Python v3.6.6 or later
8081

8182
For development and contributions:
8283
- clang-format-15.0 (can be installed with `python -m pip install clang-format==15.0.7`)

0 commit comments

Comments
 (0)