Skip to content

Commit f1be213

Browse files
authored
Merge pull request #1235 from IntelPython/feature/use_numpy_as_python_sublibrary_in_cmake
Use NumPy as python sublibrary in cmake
2 parents d1700ff + 50b8a46 commit f1be213

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

numba_dpex/core/runtime/CMakeLists.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,14 @@ message(STATUS "CMAKE_MODULE_PATH=" "${CMAKE_MODULE_PATH}")
8383

8484
# Add packages
8585
find_package(Python 3.9 REQUIRED
86-
COMPONENTS Interpreter Development.Module)
86+
COMPONENTS Interpreter Development.Module NumPy)
8787
find_package(Dpctl REQUIRED)
88-
find_package(NumPy REQUIRED)
8988
find_package(IntelSYCL REQUIRED)
9089

9190
# Includes
9291
include(GNUInstallDirs)
9392
include_directories(${Python_INCLUDE_DIRS})
94-
include_directories(${NumPy_INCLUDE_DIRS})
93+
include_directories(${Python_NumPy_INCLUDE_DIRS})
9594
include_directories(${Numba_INCLUDE_DIRS})
9695
include_directories(${Dpctl_INCLUDE_DIRS})
9796
include_directories(.)

0 commit comments

Comments
 (0)