summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2012-03-07 18:03:36 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2012-03-07 18:43:27 (GMT)
commit2c601c100bb1f822da923c31bb4f2c123f1b7edd (patch)
tree7a1ce9e166641be2292b4794ce527c65430c5bc4 /Modules
parent285f0db9f4871262360b50c870aef8bdabd853e8 (diff)
downloadCMake-2c601c100bb1f822da923c31bb4f2c123f1b7edd.zip
CMake-2c601c100bb1f822da923c31bb4f2c123f1b7edd.tar.gz
CMake-2c601c100bb1f822da923c31bb4f2c123f1b7edd.tar.bz2
DeployQt4: Add path to Qt dlls on Windows.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/DeployQt4.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/DeployQt4.cmake b/Modules/DeployQt4.cmake
index 8a5e9c5..b37695d 100644
--- a/Modules/DeployQt4.cmake
+++ b/Modules/DeployQt4.cmake
@@ -126,6 +126,9 @@ function(fixup_qt4_executable executable)
if(QT_LIBRARY_DIR)
list(APPEND dirs "${QT_LIBRARY_DIR}")
endif()
+ if(QT_BINARY_DIR)
+ list(APPEND dirs "${QT_BINARY_DIR}")
+ endif()
if(APPLE)
set(qt_conf_dir "${executable}/Contents/Resources")
@@ -258,6 +261,9 @@ function(install_qt4_executable executable)
if(QT_LIBRARY_DIR)
list(APPEND dirs "${QT_LIBRARY_DIR}")
endif()
+ if(QT_BINARY_DIR)
+ list(APPEND dirs "${QT_BINARY_DIR}")
+ endif()
if(component)
set(component COMPONENT ${component})
else()