We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62e38de + 845b4bb commit 01e6c3dCopy full SHA for 01e6c3d
cmake/FindDpctl.cmake
@@ -17,15 +17,8 @@
17
#
18
19
if(NOT Dpctl_FOUND)
20
- set(_find_extra_args)
21
- if(Dpctl_FIND_REQUIRED)
22
- list(APPEND _find_extra_args REQUIRED)
23
- endif()
24
- if(Dpctl_FIND_QUIET)
25
- list(APPEND _find_extra_args QUIET)
26
27
- find_package(PythonInterp ${_find_extra_args})
28
- find_package(PythonLibs ${_find_extra_args})
+ find_package(Python 3.9 REQUIRED
+ COMPONENTS Interpreter Development.Module)
29
30
if(PYTHON_EXECUTABLE)
31
execute_process(COMMAND "${PYTHON_EXECUTABLE}"
0 commit comments