mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 18:06:57 +02:00
Fix environment variable cmake syntax
This commit is contained in:
parent
ca489bd420
commit
758ebd7f9d
2 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ include("${CMAKE_BINARY_DIR}/vcpkg.cmake")
|
||||||
if (HIFI_ANDROID)
|
if (HIFI_ANDROID)
|
||||||
set(QT_CMAKE_PREFIX_PATH "$ENV{HIFI_ANDROID_PRECOMPILED}/qt/lib/cmake")
|
set(QT_CMAKE_PREFIX_PATH "$ENV{HIFI_ANDROID_PRECOMPILED}/qt/lib/cmake")
|
||||||
else()
|
else()
|
||||||
if (NOT $ENV{VIRCADIA_USE_SYSTEM_QT})
|
if (NOT DEFINED ENV{VIRCADIA_USE_SYSTEM_QT})
|
||||||
if(NOT EXISTS "${CMAKE_BINARY_DIR}/qt.cmake")
|
if(NOT EXISTS "${CMAKE_BINARY_DIR}/qt.cmake")
|
||||||
message(FATAL_ERROR "qt configuration missing.")
|
message(FATAL_ERROR "qt configuration missing.")
|
||||||
endif()
|
endif()
|
||||||
|
@ -293,7 +293,7 @@ set_packaging_parameters()
|
||||||
# Locate the required Qt build on the filesystem
|
# Locate the required Qt build on the filesystem
|
||||||
setup_qt()
|
setup_qt()
|
||||||
|
|
||||||
if (NOT $ENV{VIRCADIA_USE_SYSTEM_QT})
|
if (NOT DEFINED ENV{VIRCADIA_USE_SYSTEM_QT})
|
||||||
list(APPEND CMAKE_PREFIX_PATH "${QT_CMAKE_PREFIX_PATH}")
|
list(APPEND CMAKE_PREFIX_PATH "${QT_CMAKE_PREFIX_PATH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -435,7 +435,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT $ENV{VIRCADIA_USE_SYSTEM_QT})
|
if (NOT DEFINED ENV{VIRCADIA_USE_SYSTEM_QT})
|
||||||
if (DEV_BUILD AND (APPLE OR UNIX))
|
if (DEV_BUILD AND (APPLE OR UNIX))
|
||||||
# create a qt.conf file to override hard-coded search paths in Qt libs
|
# create a qt.conf file to override hard-coded search paths in Qt libs
|
||||||
set(QT_LIB_PATH "${QT_CMAKE_PREFIX_PATH}/../..")
|
set(QT_LIB_PATH "${QT_CMAKE_PREFIX_PATH}/../..")
|
||||||
|
|
Loading…
Reference in a new issue