aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Kostenko <isanych@gmail.com>2019-06-19 20:04:53 +0100
committerRobert Schumacher <roschuma@microsoft.com>2019-06-19 12:04:53 -0700
commit5ef4940c2cfa9b08095c56b1a0e643cb9377c907 (patch)
tree6c8db5c48fe8862e95175f0189843ca7aacc5d74
parente5b92a39116791cfd4e1f4931221c9f69125bae3 (diff)
downloadvcpkg-5ef4940c2cfa9b08095c56b1a0e643cb9377c907.tar.gz
vcpkg-5ef4940c2cfa9b08095c56b1a0e643cb9377c907.zip
crossplatform add to path (#6961)
-rw-r--r--ports/qt5-modularscripts/qt_modular_library.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/qt5-modularscripts/qt_modular_library.cmake b/ports/qt5-modularscripts/qt_modular_library.cmake
index dd3abb94f..206c04002 100644
--- a/ports/qt5-modularscripts/qt_modular_library.cmake
+++ b/ports/qt5-modularscripts/qt_modular_library.cmake
@@ -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)