Skip to content

Commit 2d8f32c

Browse files
No need to require minimal version of Python in CMake.
We should not stop users from trying to build dpctl with older version of Python and older version of NumPy.
1 parent c8de569 commit 2d8f32c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dpctl/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
find_package(Python 3.9 REQUIRED
2-
COMPONENTS Development.Module)
3-
find_package(NumPy REQUIRED)
1+
find_package(Python REQUIRED COMPONENTS Development.Module NumPy)
42

53
set(CYTHON_FLAGS "-t -w \"${CMAKE_SOURCE_DIR}\"")
64
find_package(Cython REQUIRED)

0 commit comments

Comments
 (0)