summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-29 13:59:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-29 13:59:29 (GMT)
commitc18117a1291743e94b878a13c8bb845fbb8d71df (patch)
treebb31ebdcd13343105e9dc7ebb70f5c5e381d874e /Source/cmExportFileGenerator.cxx
parent7c3494e9ae0466aed15a9e18ea2db96bd58be60f (diff)
parentf868e47236f8872a1edc84ae084f49609def06ad (diff)
downloadCMake-c18117a1291743e94b878a13c8bb845fbb8d71df.zip
CMake-c18117a1291743e94b878a13c8bb845fbb8d71df.tar.gz
CMake-c18117a1291743e94b878a13c8bb845fbb8d71df.tar.bz2
Merge topic 'fix-export-includes-crash'
f868e47 Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index d4437a8..5b351bc 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -291,7 +291,7 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
{
return;
}
- if (!*input && tei->InterfaceIncludeDirectories.empty())
+ if ((input && !*input) && tei->InterfaceIncludeDirectories.empty())
{
// Set to empty
properties[propName] = "";