Fix conditions for python when cmake debug prefix is not empty (#12601)

This commit is contained in:
Ilya Lavrenov
2022-08-18 08:31:23 +04:00
committed by GitHub
parent d958fccb8b
commit 5d31a27f57
19 changed files with 76 additions and 68 deletions

View File

@@ -9,7 +9,7 @@
# [MESSAGE_MODE <WARNING | FATAL_ERROR | TRACE>])
#
function(ov_check_pip_package)
find_package(PythonInterp 3 QUIET)
find_host_package(PythonInterp 3 QUIET)
set(oneValueOptionalArgs
MESSAGE_MODE # Set the type of message: { FATAL_ERROR | WARNING | ... }
@@ -65,7 +65,7 @@ endfunction()
# [MESSAGE_MODE <WARNING | FATAL_ERROR | TRACE>])
#
function(ov_check_pip_packages)
find_package(PythonInterp 3 QUIET)
find_host_package(PythonInterp 3 QUIET)
set(oneValueOptionalArgs
MESSAGE_MODE # Set the type of message: { FATAL_ERROR | WARNING | ... }