diff options
author | Brad King <brad.king@kitware.com> | 2013-08-26 15:39:08 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-08-26 15:39:08 (GMT) |
commit | c5baca780472a6e2ec1615bed2619be98482b992 (patch) | |
tree | 56222ba6adebf443a740a43ce5bfbbc97b0ccb64 /Source | |
parent | 889527aa9cd9f2b69d429ed766926105242fb0a8 (diff) | |
parent | cc8f79670e6c6533a76b80656c87342c0c1696a4 (diff) | |
download | CMake-c5baca780472a6e2ec1615bed2619be98482b992.zip CMake-c5baca780472a6e2ec1615bed2619be98482b992.tar.gz CMake-c5baca780472a6e2ec1615bed2619be98482b992.tar.bz2 |
Merge topic 'find-IMPORTED-targets-for-try_compile'
cc8f796 try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIES
fd4fb9e try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index e7b185a..819ac37 100644 --- a/Source/cmExportTryCompileFileGenerator.cxx +++ b/Source/cmExportTryCompileFileGenerator.cxx @@ -93,7 +93,9 @@ 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 + || i->first.find("INTERFACE_LINK_LIBRARIES") == 0) { const std::string libs = i->second.GetValue(); |