mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
crossplatform add to path (#6961)
This commit is contained in:
parent
e5b92a3911
commit
5ef4940c2c
@ -37,7 +37,7 @@ function(qt_modular_build_library SOURCE_PATH)
|
||||
#Find Python and add it to the path
|
||||
vcpkg_find_acquire_program(PYTHON2)
|
||||
get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
|
||||
set(ENV{PATH} "${PYTHON2_EXE_PATH};$ENV{PATH}")
|
||||
vcpkg_add_to_path("${PYTHON2_EXE_PATH}")
|
||||
|
||||
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" NATIVE_INSTALLED_DIR)
|
||||
file(TO_NATIVE_PATH "${CURRENT_PACKAGES_DIR}" NATIVE_PACKAGES_DIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user