diff options
author | Brad King <brad.king@kitware.com> | 2013-07-29 13:59:29 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-07-29 13:59:29 (GMT) |
commit | c18117a1291743e94b878a13c8bb845fbb8d71df (patch) | |
tree | bb31ebdcd13343105e9dc7ebb70f5c5e381d874e /Source/cmExportFileGenerator.cxx | |
parent | 7c3494e9ae0466aed15a9e18ea2db96bd58be60f (diff) | |
parent | f868e47236f8872a1edc84ae084f49609def06ad (diff) | |
download | CMake-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.cxx | 2 |
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] = ""; |