Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated FindPythonLibs #1389

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions cmake/FindDpctl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,8 @@
#

if(NOT Dpctl_FOUND)
set(_find_extra_args)
if(Dpctl_FIND_REQUIRED)
list(APPEND _find_extra_args REQUIRED)
endif()
if(Dpctl_FIND_QUIET)
list(APPEND _find_extra_args QUIET)
endif()
find_package(PythonInterp ${_find_extra_args})
find_package(PythonLibs ${_find_extra_args})
find_package(Python 3.9 REQUIRED
COMPONENTS Interpreter Development.Module)

if(PYTHON_EXECUTABLE)
execute_process(COMMAND "${PYTHON_EXECUTABLE}"
Expand Down