summaryrefslogtreecommitdiff
path: root/Modules/DeployQt4.cmake
diff options
context:
space:
mode:
authorMike McQuaid <mike@mikemcquaid.com>2011-12-13 16:24:39 +0000
committerClinton Stimpson <clinton@elemtech.com>2011-12-13 09:39:53 -0700
commit4e9274e95498e7bf30d912ca6f7fbbb6d6ab970b (patch)
treee01e666841bdc847c9e32159771980fa583aa4e8 /Modules/DeployQt4.cmake
parentb688f114c9b3c951c6d4640412d33b70974a1dc6 (diff)
downloadcmake-4e9274e95498e7bf30d912ca6f7fbbb6d6ab970b.tar.gz
Unset configurations variable when no build type.
Diffstat (limited to 'Modules/DeployQt4.cmake')
-rw-r--r--Modules/DeployQt4.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/DeployQt4.cmake b/Modules/DeployQt4.cmake
index 53503011df..80a13d464e 100644
--- a/Modules/DeployQt4.cmake
+++ b/Modules/DeployQt4.cmake
@@ -204,6 +204,8 @@ function(install_qt4_plugin_path plugin executable copy installed_plugin_path_va
else()
if(configurations AND (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE))
set(configurations CONFIGURATIONS ${configurations})
+ else()
+ unset(configurations)
endif()
if(component)
set(component COMPONENT ${component})