From 50b8a46e35cf1f3873e86a1a649cd44a421f28a8 Mon Sep 17 00:00:00 2001 From: Yevhenii Havrylko Date: Thu, 7 Dec 2023 16:02:09 -0500 Subject: [PATCH] Use NumPy as python sublibrary in cmake --- numba_dpex/core/runtime/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/numba_dpex/core/runtime/CMakeLists.txt b/numba_dpex/core/runtime/CMakeLists.txt index abee96af2a..7ab19fd8cd 100644 --- a/numba_dpex/core/runtime/CMakeLists.txt +++ b/numba_dpex/core/runtime/CMakeLists.txt @@ -83,15 +83,14 @@ message(STATUS "CMAKE_MODULE_PATH=" "${CMAKE_MODULE_PATH}") # Add packages find_package(Python 3.9 REQUIRED - COMPONENTS Interpreter Development.Module) + COMPONENTS Interpreter Development.Module NumPy) find_package(Dpctl REQUIRED) -find_package(NumPy REQUIRED) find_package(IntelSYCL REQUIRED) # Includes include(GNUInstallDirs) include_directories(${Python_INCLUDE_DIRS}) -include_directories(${NumPy_INCLUDE_DIRS}) +include_directories(${Python_NumPy_INCLUDE_DIRS}) include_directories(${Numba_INCLUDE_DIRS}) include_directories(${Dpctl_INCLUDE_DIRS}) include_directories(.)