diff --git a/pybgcode/CMakeLists.txt b/pybgcode/CMakeLists.txt index abfa3d9..abfcc16 100644 --- a/pybgcode/CMakeLists.txt +++ b/pybgcode/CMakeLists.txt @@ -23,7 +23,7 @@ else () add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/upstream) endif () -find_package(Python3 REQUIRED COMPONENTS Interpreter Development) +find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) find_package(pybind11 REQUIRED) set(PY_VERSION_SUFFIX "")