mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 06:14:04 +02:00
Updated for Jenkins.
This commit is contained in:
parent
dd85e224a4
commit
01a838b5cb
1 changed files with 11 additions and 3 deletions
|
@ -11,10 +11,18 @@ macro(setup_qt)
|
|||
# if we are in a development build and QT_CMAKE_PREFIX_PATH is specified
|
||||
# then use it,
|
||||
# otherwise, use the vcpkg'ed version
|
||||
if ((RELEASE_TYPE STREQUAL "DEV") AND DEFINED ENV{QT_CMAKE_PREFIX_PATH} )
|
||||
set(QT_CMAKE_PREFIX_PATH $ENV{QT_CMAKE_PREFIX_PATH})
|
||||
if (RELEASE_TYPE STREQUAL "DEV")
|
||||
if (DEFINED ENV{QT_CMAKE_PREFIX_PATH} )
|
||||
set(QT_CMAKE_PREFIX_PATH $ENV{QT_CMAKE_PREFIX_PATH})
|
||||
else ()
|
||||
set(QT_CMAKE_PREFIX_PATH $ENV{HIFI_VCPKG_BASE_VERSION} "/installed/qt5-install/lib/cmake")
|
||||
endif()
|
||||
else ()
|
||||
set(QT_CMAKE_PREFIX_PATH $ENV{HIFI_VCPKG_BASE_VERSION} "/installed/qt5-install/lib/cmake")
|
||||
if (WIN32)
|
||||
set(QT_CMAKE_PREFIX_PATH "C:/Windows/TEMP/hifi/vcpkg/installed/qt5-install/lib/cmake")
|
||||
else ()
|
||||
set(QT_CMAKE_PREFIX_PATH "/tmp/hifi/vcpkg/installed/qt5-install/lib/cmake")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# figure out where the qt dir is
|
||||
|
|
Loading…
Reference in a new issue