mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Added cmake messages to help debug config issues
Also remove uncessary HIFI_QT_INSTALL_ROOT env varaible from hifi_vcpkg.py
This commit is contained in:
parent
ddf1543d68
commit
5c982855ab
2 changed files with 3 additions and 4 deletions
|
@ -54,8 +54,10 @@ macro(setup_qt)
|
|||
if (NOT DEV_BUILD)
|
||||
if (UNIX AND DEFINED ENV{QT_CMAKE_PREFIX_PATH})
|
||||
# HACK: obey QT_CMAKE_PREFIX_PATH to allow UNIX to use older QT libs
|
||||
message("HACK: obey QT_CMAKE_PREFIX_PATH on UNIX")
|
||||
set(QT_CMAKE_PREFIX_PATH $ENV{QT_CMAKE_PREFIX_PATH})
|
||||
else()
|
||||
message("override QT_CMAKE_PREFIX_PATH with VCPKG_QT_CMAKE_PREFIX_PATH")
|
||||
set(QT_CMAKE_PREFIX_PATH ${VCPKG_QT_CMAKE_PREFIX_PATH})
|
||||
endif()
|
||||
else()
|
||||
|
|
|
@ -215,10 +215,7 @@ endif()
|
|||
|
||||
def getQt5InstallPath(self):
|
||||
qt5InstallPath = os.path.join(self.path, 'installed', 'qt5-install')
|
||||
if os.getenv('HIFI_QT_INSTALL_ROOT'):
|
||||
# Allow qt install path to be overriden by an environment variable
|
||||
qt5InstallPath = os.getenv('HIFI_QT_INSTALL_ROOT')
|
||||
elif self.args.android:
|
||||
if self.args.android:
|
||||
precompiled = os.path.realpath(self.androidPackagePath)
|
||||
qt5InstallPath = os.path.realpath(os.path.join(precompiled, 'qt'))
|
||||
return qt5InstallPath
|
||||
|
|
Loading…
Reference in a new issue