Skip to content

Commit ad60e5b

Browse files
committed
python path
1 parent e8c48c2 commit ad60e5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ports/py-meson/vcpkg_mesonpy_prepare_build_options.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ function(vcpkg_mesonpy_prepare_build_options)
2424
vcpkg_add_to_path(PREPEND "${NINJA_PATH}") # Prepend to use the correct ninja.
2525

2626
vcpkg_find_acquire_program(PYTHON3)
27-
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
28-
vcpkg_add_to_path(PREPEND "${PYTHON3_DIR}")
2927
x_vcpkg_get_python_packages(
3028
PYTHON_VERSION 3
3129
PYTHON_EXECUTABLE ${PYTHON3}
3230
PACKAGES gpep517 setuptools-scm
3331
OUT_PYTHON_VAR PYTHON3
3432
)
33+
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
34+
vcpkg_add_to_path(PREPEND "${PYTHON3_DIR}")
3535

3636
set(buildname "RELEASE")
3737
vcpkg_list(APPEND buildtypes "${buildname}")

versions/p-/py-meson.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "2506a3f1278251228e159d4209a98445e7d4cc13",
4+
"git-tree": "5e75d7c8be60987fe672073dabcfed3dfa27d5f7",
55
"version": "0.15.0",
66
"port-version": 1
77
},

0 commit comments

Comments
 (0)