only build qt.conf for DEV macos and unix builds

This commit is contained in:
Andrew Meadows 2019-05-20 15:00:07 -04:00
parent 9b78edd062
commit f2f11b9509

View file

@ -401,8 +401,8 @@ else()
endif()
endif()
if (APPLE OR UNIX)
# need to worry about hard-coded search paths in the Qt libraries
if (DEV_BUILD AND (APPLE OR UNIX))
# create a qt.conf file to override hard-coded search paths in Qt libs
set(QT_LIB_PATH "${QT_CMAKE_PREFIX_PATH}/../..")
if (APPLE)
set(QT_CONF_FILE "${RESOURCES_DEV_DIR}/../Resources/qt.conf")