diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-07 16:36:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-22 13:35:38 (GMT) |
commit | 1c0597c25bf69a9c73e3d4f6ab68d16b5e56a271 (patch) | |
tree | 832bacf10674f534b5aa40444b5c3fbdd360474c /Source/cmExportFileGenerator.cxx | |
parent | f2ab17d4db86af5695f70b5c49f388319e510472 (diff) | |
download | CMake-1c0597c25bf69a9c73e3d4f6ab68d16b5e56a271.zip CMake-1c0597c25bf69a9c73e3d4f6ab68d16b5e56a271.tar.gz CMake-1c0597c25bf69a9c73e3d4f6ab68d16b5e56a271.tar.bz2 |
Add a new Export generator for IMPORTED targets.
This is to be used during try_compile using LINK_LIBRARIES in the
srcfile signature and, in the future, TARGETS in the binary dir
signature.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index ef4ea38..d8a7059 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -679,6 +679,9 @@ cmExportFileGenerator case cmTarget::MODULE_LIBRARY: os << "add_library(" << targetName << " MODULE IMPORTED)\n"; break; + case cmTarget::UNKNOWN_LIBRARY: + os << "add_library(" << targetName << " UNKNOWN IMPORTED)\n"; + break; default: // should never happen break; } |