summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-08-21 06:55:30 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-26 15:37:00 (GMT)
commitcc8f79670e6c6533a76b80656c87342c0c1696a4 (patch)
treeb2cbe12515525eec33698f2e33e698d3cd745aed /Source/cmExportTryCompileFileGenerator.cxx
parentfd4fb9ef040dde7961500e2241b43909a9e6b1a4 (diff)
downloadCMake-cc8f79670e6c6533a76b80656c87342c0c1696a4.zip
CMake-cc8f79670e6c6533a76b80656c87342c0c1696a4.tar.gz
CMake-cc8f79670e6c6533a76b80656c87342c0c1696a4.tar.bz2
try_compile: Extract IMPORTED targets from INTERFACE_LINK_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 0a17232..819ac37 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -94,7 +94,8 @@ cmExportTryCompileFileGenerator::PopulateProperties(cmTarget* target,
properties[i->first] = i->second.GetValue();
if(i->first.find("IMPORTED_LINK_INTERFACE_LIBRARIES") == 0
- || i->first.find("IMPORTED_LINK_DEPENDENT_LIBRARIES") == 0)
+ || i->first.find("IMPORTED_LINK_DEPENDENT_LIBRARIES") == 0
+ || i->first.find("INTERFACE_LINK_LIBRARIES") == 0)
{
const std::string libs = i->second.GetValue();