diff options
author | Brad King <brad.king@kitware.com> | 2018-03-01 12:54:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-01 12:54:20 (GMT) |
commit | 61f92e69c013e55fcf031eab26f930341c41d97f (patch) | |
tree | e5083e7845c2c01ae09a67a5d8e72de0adcd394f /Source/cmExportTryCompileFileGenerator.cxx | |
parent | e02f4f066011d5b5c493e99f5e21ea0d64cf9aa2 (diff) | |
parent | ea0ce73a195e1cc0f672f1e7519c42a240592f15 (diff) | |
download | CMake-61f92e69c013e55fcf031eab26f930341c41d97f.zip CMake-61f92e69c013e55fcf031eab26f930341c41d97f.tar.gz CMake-61f92e69c013e55fcf031eab26f930341c41d97f.tar.bz2 |
Merge topic 'object-library-export-as-interface'
ea0ce73a19 install,export: Maybe transform OBJECT libraries to INTERFACE libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1811
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index 1fb9cf8..798f2e6 100644 --- a/Source/cmExportTryCompileFileGenerator.cxx +++ b/Source/cmExportTryCompileFileGenerator.cxx @@ -32,7 +32,7 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os) this->Exports.pop_back(); if (emitted.insert(te).second) { emittedDeps.insert(te); - this->GenerateImportTargetCode(os, te); + this->GenerateImportTargetCode(os, te, te->GetType()); ImportPropertyMap properties; |