diff options
| author | Phil Christensen <philc@microsoft.com> | 2018-11-13 15:02:29 -0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2018-11-13 15:23:04 -0800 |
| commit | 54095ce882d70d111b6219709656ff2192fd53c5 (patch) | |
| tree | 3557997f16a3c10aa6d38f5d93b4fc5b148e573c | |
| parent | 27a6b6bbee07a0b425c2f77bdf17cdbfd230a867 (diff) | |
| download | vcpkg-54095ce882d70d111b6219709656ff2192fd53c5.tar.gz vcpkg-54095ce882d70d111b6219709656ff2192fd53c5.zip | |
[glad] fix python2 dependancy
| -rw-r--r-- | ports/glad/CONTROL | 2 | ||||
| -rw-r--r-- | ports/glad/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/glad/CONTROL b/ports/glad/CONTROL index 099da1cdf..e8354c205 100644 --- a/ports/glad/CONTROL +++ b/ports/glad/CONTROL @@ -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.
diff --git a/ports/glad/portfile.cmake b/ports/glad/portfile.cmake index d2fc4246e..432c14503 100644 --- a/ports/glad/portfile.cmake +++ b/ports/glad/portfile.cmake @@ -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
|
