Fixing the force of using cmake python3 interpreter

Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028


[ROCm/rocprofiler commit: a50d5ce4ae]
Cette révision appartient à :
Ammar ELWazir a créé et Ammar Elwazir a révisé 2024-06-10 16:00:09 -04:00
1 Parent c41bbe21d0
révision bb40910abe
3 fichiers modifiés
+18 -12

Aucun fichier ne correspond à votre recherche

+6 -4
Voir le fichier
@@ -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"