diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2017-02-09 18:23:21 +0100 |
|---|---|---|
| committer | codicodi <rob.ceglinski@gmail.com> | 2017-02-09 18:23:21 +0100 |
| commit | 91442a634ef429277b9d65b47ae67d4c6791fe09 (patch) | |
| tree | 8d2e9fcc5e430bd5924b8fa71684edcd2aaad914 | |
| parent | b65ae7c27793d2837881412f609ee08974c14f82 (diff) | |
| download | vcpkg-91442a634ef429277b9d65b47ae67d4c6791fe09.tar.gz vcpkg-91442a634ef429277b9d65b47ae67d4c6791fe09.zip | |
[libepoxy] ensure python is on path
| -rw-r--r-- | ports/libepoxy/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/libepoxy/portfile.cmake b/ports/libepoxy/portfile.cmake index add95b480..521f7a292 100644 --- a/ports/libepoxy/portfile.cmake +++ b/ports/libepoxy/portfile.cmake @@ -8,6 +8,11 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive(${ARCHIVE}) +# ensure python is on path - not for meson but some source geneation scripts +vcpkg_find_acquire_program(PYTHON3) +get_filename_component(PYTHON3_PATH ${PYTHON3} DIRECTORY) +set(ENV{PATH} "$ENV{PATH};${PYTHON3_PATH}") + vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}) vcpkg_install_meson() |
