diff options
| -rwxr-xr-x | CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e48114bb..c1b89ea8 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |
