mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Unset configurations variable when no build type.
This commit is contained in:
committed by
Clinton Stimpson
parent
b688f114c9
commit
4e9274e954
@@ -204,6 +204,8 @@ function(install_qt4_plugin_path plugin executable copy installed_plugin_path_va
|
|||||||
else()
|
else()
|
||||||
if(configurations AND (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE))
|
if(configurations AND (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE))
|
||||||
set(configurations CONFIGURATIONS ${configurations})
|
set(configurations CONFIGURATIONS ${configurations})
|
||||||
|
else()
|
||||||
|
unset(configurations)
|
||||||
endif()
|
endif()
|
||||||
if(component)
|
if(component)
|
||||||
set(component COMPONENT ${component})
|
set(component COMPONENT ${component})
|
||||||
|
|||||||
Reference in New Issue
Block a user