Fixing the force of using cmake python3 interpreter

Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028


[ROCm/rocprofiler commit: a50d5ce4ae]
这个提交包含在:
Ammar ELWazir 编写, Ammar Elwazir 于 2024-06-10 16:00:09 -04:00 提交
1 父节点 c41bbe21d0
当前提交 bb40910abe
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"