Skip to content

Commit

Permalink
Add REQUIRED
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremie Deray <[email protected]>
  • Loading branch information
diegoferigo and artivis authored Jun 18, 2021
1 parent 2f20ba0 commit adf6fe6
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 @@ -65,7 +65,7 @@ if (BUILD_PYTHON_BINDINGS)
# Include the vendored FindPython3 resources
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")

find_package(Python3 COMPONENTS Interpreter Development.Module)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
find_package(pybind11 REQUIRED)

add_subdirectory(python)
Expand Down

0 comments on commit adf6fe6

Please sign in to comment.