From f2f11b9509d2ddd2507178b08ecf15e64ba0be84 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 20 May 2019 15:00:07 -0400 Subject: [PATCH] only build qt.conf for DEV macos and unix builds --- interface/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 0b94c4296d..9553b571c5 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -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")