[libepoxy] ensure python is on path

This commit is contained in:
codicodi 2017-02-09 18:23:21 +01:00
parent b65ae7c277
commit 91442a634e

View File

@ -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()