Skip to content

Commit 6995449

Browse files
authored
Merge pull request #31085 from compnerd/android-python-3
build: remove the last unversioned python reference
2 parents 51db014 + 3159164 commit 6995449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ _Block_release(void) { }\n")
311311
# Reboot the device and remove everything in its tmp
312312
# directory. Build products and test executables are pushed
313313
# to that directory when running the test suite.
314-
${PYTHON_EXECUTABLE} "${SWIFT_SOURCE_DIR}/utils/android/adb_clean.py"
314+
$<TARGET_FILE:Python3::Interpreter> "${SWIFT_SOURCE_DIR}/utils/android/adb_clean.py"
315315
COMMAND
316-
${PYTHON_EXECUTABLE} "${SWIFT_SOURCE_DIR}/utils/android/adb_push_built_products.py"
316+
$<TARGET_FILE:Python3::Interpreter> "${SWIFT_SOURCE_DIR}/utils/android/adb_push_built_products.py"
317317
--ndk "${SWIFT_ANDROID_NDK_PATH}"
318318
--destination "${SWIFT_ANDROID_DEPLOY_DEVICE_PATH}"
319319
--destination-arch "${ARCH}"

0 commit comments

Comments
 (0)