Skip to content

Commit 9a4a745

Browse files
committed
fix: update cmake python3 dep to module
Signed-off-by: Pablo Carmona Gonzalez <pablocarmonagonzalez@gmail.com>
1 parent a26d305 commit 9a4a745

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-wheel-310.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
CIBW_BUILD: cp310-manylinux_x86_64
1919
CIBW_BEFORE_ALL: >
20-
yum install -y openblas-devel python3-devel
20+
yum install -y openblas-devel
2121
CIBW_BEFORE_BUILD: |
2222
pip install \
2323
"cmake>=4.2.1" \

cmake/dependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ else()
7777
endif()
7878

7979
# Python and pybind11
80-
find_package(Python3 COMPONENTS Interpreter Development)
80+
find_package(Python3 COMPONENTS Interpreter Development.Module)
8181
include_directories(${Python3_INCLUDE_DIRS}) # order matters (before pybind)
8282

8383
set(ignoreMe "${Python3_EXECUTABLE}${Python3_FIND_REGISTRY}${Python3_INCLUDE_DIR}${Python3_NumPy_INCLUDE_DIRS}${Python3_ROOT_DIR}${Python_INCLUDE_DIR}${Python_NumPy_INCLUDE_DIRS}")

0 commit comments

Comments
 (0)