From 91442a634ef429277b9d65b47ae67d4c6791fe09 Mon Sep 17 00:00:00 2001 From: codicodi Date: Thu, 9 Feb 2017 18:23:21 +0100 Subject: [libepoxy] ensure python is on path --- ports/libepoxy/portfile.cmake | 5 +++++ 1 file changed, 5 insertions(+) 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() -- cgit v1.2.3