diff options
author | Brad King <brad.king@kitware.com> | 2023-04-25 13:52:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-04-25 13:52:40 (GMT) |
commit | 827d5b75d47126205faba26cabc8856c6d9c3362 (patch) | |
tree | ff09a2f32618ad3adde64e8f1ae4afcce906aa24 /Source/cmComputeLinkDepends.cxx | |
parent | 26087d558f914a930d3285ce04cc54463d41e44e (diff) | |
parent | e08ba229ee3107bcb814ca45bc9c72a48abf1ba2 (diff) | |
download | CMake-827d5b75d47126205faba26cabc8856c6d9c3362.zip CMake-827d5b75d47126205faba26cabc8856c6d9c3362.tar.gz CMake-827d5b75d47126205faba26cabc8856c6d9c3362.tar.bz2 |
Merge topic 'CMake-uses-cmList-class'
e08ba229ee CMake code rely on cmList class for CMake lists management (part. 1)
51b0d45d91 cmExpandList and cmExpandLists rely on cmList class
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8423
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index 5f408d0..f51a1c8 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -20,6 +20,7 @@ #include "cmGeneratorExpressionDAGChecker.h" #include "cmGeneratorTarget.h" #include "cmGlobalGenerator.h" +#include "cmList.h" #include "cmListFileCache.h" #include "cmLocalGenerator.h" #include "cmMakefile.h" @@ -627,7 +628,7 @@ void cmComputeLinkDepends::AddVarLinkEntries(size_t depender_index, // This is called to add the dependencies named by // <item>_LIB_DEPENDS. The variable contains a semicolon-separated // list. The list contains link-type;item pairs and just items. - std::vector<std::string> deplist = cmExpandedList(value); + cmList deplist{ value }; // Look for entries meant for this configuration. std::vector<cmLinkItem> actual_libs; |