[glad] fix python2 dependancy

This commit is contained in:
Phil Christensen 2018-11-13 15:02:29 -08:00
parent 27a6b6bbee
commit 54095ce882
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: glad
Version: 0.1.28
Version: 0.1.28-2
Description: Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

View File

@ -10,6 +10,10 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
set(ENV{PATH} "$ENV{PATH};${PYTHON2_DIR}")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA