diff --git a/CMakeLists.txt b/CMakeLists.txt index b1d035d76..3234e8bc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -329,7 +329,7 @@ if (SLS_USE_INTEGRATION_TESTS) endif (SLS_USE_INTEGRATION_TESTS) if (SLS_USE_PYTHON) - find_package (Python 3.8 COMPONENTS Interpreter Development) + find_package (Python 3.8 COMPONENTS Interpreter Development.Modules REQUIRED) if(SLS_FETCH_PYBIND11_FROM_GITHUB) FetchContent_Declare( pybind11