Skip to content

Commit

Permalink
[skip_ci] build: Use python3 instead of python symlink
Browse files Browse the repository at this point in the history
The python symlink is not present on all
systems. python3 should likely always be
available if python3 is installed
  • Loading branch information
ltoenning committed Jun 14, 2024
1 parent b3a5724 commit 748f921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1

macro(get_version_number)
execute_process(COMMAND python scripts/utils.py --version
execute_process(COMMAND python3 scripts/utils.py --version
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE SWIFT_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
Expand Down

0 comments on commit 748f921

Please sign in to comment.