mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
Merge topic 'fix-export-includes-crash'
f868e47 Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES.
This commit is contained in:
@@ -291,7 +291,7 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!*input && tei->InterfaceIncludeDirectories.empty())
|
||||
if ((input && !*input) && tei->InterfaceIncludeDirectories.empty())
|
||||
{
|
||||
// Set to empty
|
||||
properties[propName] = "";
|
||||
|
||||
Reference in New Issue
Block a user