Merge topic 'fix-export-includes-crash'

f868e47 Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES.
This commit is contained in:
Brad King
2013-07-29 09:59:29 -04:00
committed by CMake Topic Stage
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
{
return;
}
if (!*input && tei->InterfaceIncludeDirectories.empty())
if ((input && !*input) && tei->InterfaceIncludeDirectories.empty())
{
// Set to empty
properties[propName] = "";