diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2020-09-18 12:48:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-22 11:35:02 (GMT) |
commit | bf114602daf09031ec7cf524758e95439bf21627 (patch) | |
tree | d62e27e79a5865fdeead8831cb986ab548df94d6 /Source/cmExportFileGenerator.cxx | |
parent | 46bb6ae8d44e403f2fdd3ae6b074c74426ac20bb (diff) | |
download | CMake-bf114602daf09031ec7cf524758e95439bf21627.zip CMake-bf114602daf09031ec7cf524758e95439bf21627.tar.gz CMake-bf114602daf09031ec7cf524758e95439bf21627.tar.bz2 |
install(EXPORT): Fix exporting target w/ source named using CONFIG genex
Fixes: #21203
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index 58aa391..cbae4e5 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -565,11 +565,9 @@ void cmExportFileGenerator::PopulateCompatibleInterfaceProperties( ifaceProperties); if (gtarget->GetType() != cmStateEnums::INTERFACE_LIBRARY) { - getCompatibleInterfaceProperties(gtarget, ifaceProperties, ""); - std::vector<std::string> configNames = gtarget->Target->GetMakefile()->GetGeneratorConfigs( - cmMakefile::ExcludeEmptyConfig); + cmMakefile::IncludeEmptyConfig); for (std::string const& cn : configNames) { getCompatibleInterfaceProperties(gtarget, ifaceProperties, cn); |