diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-08-19 09:57:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-26 15:36:57 (GMT) |
commit | fd4fb9ef040dde7961500e2241b43909a9e6b1a4 (patch) | |
tree | aa25cb1ed0b9645b185dcc10e3f18d4ca596aff1 /Source/cmExportTryCompileFileGenerator.cxx | |
parent | d7c9d60d9fa552a22944d9a912dd61539e012102 (diff) | |
download | CMake-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.cxx | 3 |
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(); |