mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 07:10:23 +00:00
LX #410 - Use ${PYTHON_EXECUTABLE} for PYTHON_CMD
This commit is contained in:
parent
ce364935bd
commit
ff4013c77c
@ -91,6 +91,8 @@ if (BUILD_TESTS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set (PYTHON_CMD ${PYTHON_EXECUTABLE})
|
||||
|
||||
if(NOT WIN32)
|
||||
include(GNUInstallDirs)
|
||||
add_definitions(-DSYSCONFDIR="${CMAKE_INSTALL_SYSCONFDIR}")
|
||||
@ -100,11 +102,6 @@ if(NOT WIN32)
|
||||
else()
|
||||
add_definitions(-DLOCALPREFIX="${CMAKE_INSTALL_PREFIX}")
|
||||
endif()
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set(PYTHON_CMD "python3")
|
||||
endif()
|
||||
else()
|
||||
set(PYTHON_CMD "py")
|
||||
endif()
|
||||
|
||||
# loader: Generic VULKAN ICD loader
|
||||
|
Loading…
Reference in New Issue
Block a user