summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-08-19 09:57:13 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-26 15:36:57 (GMT)
commitfd4fb9ef040dde7961500e2241b43909a9e6b1a4 (patch)
treeaa25cb1ed0b9645b185dcc10e3f18d4ca596aff1 /Source/cmExportTryCompileFileGenerator.cxx
parentd7c9d60d9fa552a22944d9a912dd61539e012102 (diff)
downloadCMake-fd4fb9ef040dde7961500e2241b43909a9e6b1a4.zip
CMake-fd4fb9ef040dde7961500e2241b43909a9e6b1a4.tar.gz
CMake-fd4fb9ef040dde7961500e2241b43909a9e6b1a4.tar.bz2
try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r--Source/cmExportTryCompileFileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx
index e7b185a..0a17232 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -93,7 +93,8 @@ cmExportTryCompileFileGenerator::PopulateProperties(cmTarget* target,
{
properties[i->first] = i->second.GetValue();
- if(i->first.find("IMPORTED_LINK_INTERFACE_LIBRARIES") == 0)
+ if(i->first.find("IMPORTED_LINK_INTERFACE_LIBRARIES") == 0
+ || i->first.find("IMPORTED_LINK_DEPENDENT_LIBRARIES") == 0)
{
const std::string libs = i->second.GetValue();