diff options
author | Brad King <brad.king@kitware.com> | 2008-09-15 17:30:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-09-15 17:30:11 (GMT) |
commit | 4f6137c70c6d473243ed99838820119138fc1c96 (patch) | |
tree | ee59a8248b861eb1b30ef11c19955e96b57a4212 /Source/cmTarget.cxx | |
parent | 0fe06c812660cd2e030b9f7f53e5e06a27d96f27 (diff) | |
download | CMake-4f6137c70c6d473243ed99838820119138fc1c96.zip CMake-4f6137c70c6d473243ed99838820119138fc1c96.tar.gz CMake-4f6137c70c6d473243ed99838820119138fc1c96.tar.bz2 |
ENH: Allow link line computation for static libs
In some cases it may be useful to compute a "link" line for a static
library even though it will not be put in the generated build system.
This removes the assertion which previously diallowed the case.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 177db54..7ef9723 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -3696,9 +3696,6 @@ cmTargetLinkInterface* cmTarget::ComputeLinkInterface(const char* config) cmComputeLinkInformation* cmTarget::GetLinkInformation(const char* config) { - // Link information does not make sense for static libraries. - assert(this->GetType() != cmTarget::STATIC_LIBRARY); - // Lookup any existing information for this configuration. std::map<cmStdString, cmComputeLinkInformation*>::iterator i = this->LinkInformation.find(config?config:""); |