mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[glad] Pass path to python explicitly to work on default Ubuntu 18.04 wherein 'python' is python2.
This commit is contained in:
parent
436f1de44b
commit
28fc76e733
@ -10,8 +10,6 @@ vcpkg_from_github(
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
|
||||
vcpkg_add_to_path("${PYTHON3_DIR}")
|
||||
|
||||
file(COPY
|
||||
${CURRENT_INSTALLED_DIR}/include/KHR/khrplatform.h
|
||||
@ -32,6 +30,7 @@ vcpkg_configure_cmake(
|
||||
-DGLAD_REPRODUCIBLE=ON
|
||||
-DGLAD_SPEC="gl" # {gl,egl,glx,wgl}
|
||||
-DGLAD_PROFILE="compatibility" # {core,compatibility}
|
||||
-DPYTHON_EXECUTABLE=${PYTHON3}
|
||||
OPTIONS_DEBUG
|
||||
-DGLAD_GENERATOR="c-debug"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user