Merge topic 'qt4-deploy-module'

4e9274e Unset configurations variable when no build type.
This commit is contained in:
David Cole 2011-12-16 10:13:59 -05:00 committed by CMake Topic Stage
commit c68a780dec
1 changed files with 2 additions and 0 deletions

View File

@ -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})