Fixing the force of using cmake python3 interpreter

Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028
此提交包含在:
Ammar ELWazir
2024-06-10 14:59:38 -05:00
提交者 Ammar Elwazir
父節點 056156135d
當前提交 a50d5ce4ae
共有 3 個檔案被更改,包括 18 行新增 和 12 行删除
+6 -4
查看文件
@@ -1,10 +1,12 @@
# ############################################################################################################################################
# ROCProfiler General Requirements
# ############################################################################################################################################
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
if(NOT Python3_EXECUTABLE)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
endif()
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import lxml"