aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarath Kannan <barathsotd@gmail.com>2017-12-15 07:07:24 +1100
committerBarath Kannan <barathsotd@gmail.com>2017-12-15 07:07:24 +1100
commit54c0f87da73fba58b70a105046abdb55f40d015a (patch)
tree51d3edae29125c9dd51fe08f3c1e9fd774398293
parenteb92719c5d41b3013050b269ba5ec85383789b17 (diff)
downloadvcpkg-54c0f87da73fba58b70a105046abdb55f40d015a.tar.gz
vcpkg-54c0f87da73fba58b70a105046abdb55f40d015a.zip
change to python2 for future web engine support
-rw-r--r--ports/qt5modularscripts/qt_modular_library.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/qt5modularscripts/qt_modular_library.cmake b/ports/qt5modularscripts/qt_modular_library.cmake
index b841d9eb7..336a3913d 100644
--- a/ports/qt5modularscripts/qt_modular_library.cmake
+++ b/ports/qt5modularscripts/qt_modular_library.cmake
@@ -37,9 +37,9 @@ function(qt_modular_library NAME HASH)
file(REMOVE_RECURSE "${DEBUG_DIR}" "${RELEASE_DIR}")
#Find Python and add it to the path
- vcpkg_find_acquire_program(PYTHON3)
- get_filename_component(PYTHON3_EXE_PATH ${PYTHON3} DIRECTORY)
- set(ENV{PATH} "${PYTHON3_EXE_PATH};$ENV{PATH}")
+ vcpkg_find_acquire_program(PYTHON2)
+ get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
+ set(ENV{PATH} "${PYTHON2_EXE_PATH};$ENV{PATH}")
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" NATIVE_INSTALLED_DIR)
file(TO_NATIVE_PATH "${CURRENT_PACKAGES_DIR}" NATIVE_PACKAGES_DIR)
@@ -92,7 +92,7 @@ function(qt_modular_library NAME HASH)
#Fix the cmake files if they exist
if(EXISTS ${RELEASE_DIR}/lib/cmake)
vcpkg_execute_required_process(
- COMMAND ${PYTHON3} ${_qt5base_port_dir}/fixcmake.py
+ COMMAND ${PYTHON2} ${_qt5base_port_dir}/fixcmake.py
WORKING_DIRECTORY ${RELEASE_DIR}/lib/cmake
LOGNAME fix-cmake
)