From 4e9274e95498e7bf30d912ca6f7fbbb6d6ab970b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 13 Dec 2011 16:24:39 +0000 Subject: [PATCH] Unset configurations variable when no build type. --- Modules/DeployQt4.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/DeployQt4.cmake b/Modules/DeployQt4.cmake index 53503011d..80a13d464 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})