summaryrefslogtreecommitdiff
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-25 13:12:02 -0500
committerCMake Topic Stage <kwrobot@kitware.com>2013-02-25 13:12:02 -0500
commitb887bca6ee3651857be663fe1f2e2f2c1ed1ac1e (patch)
tree26a9d0ed2226fa86be6cbffe6ffbbd661c6a40b1 /Source/cmExportFileGenerator.cxx
parent6e567cabea8df6f8fc8c401f4b9bfe2997c4399e (diff)
parent236133e79e2d047810eeba90915e38d9861e2a22 (diff)
downloadcmake-b887bca6ee3651857be663fe1f2e2f2c1ed1ac1e.tar.gz
Merge topic 'try_compile-targets'
236133e Handle targets in the LINK_LIBRARIES of try_compile. 1c0597c Add a new Export generator for IMPORTED targets. f2ab17d Keep track of all targets seen while evaluating a genex.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index e55f1683f9..7fd038004e 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;
}