diff options
author | Brad King <brad.king@kitware.com> | 2021-06-01 12:35:49 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-06-01 12:35:56 (GMT) |
commit | 5eb2aa1f57e99f30be5ea145ce9af5fd9652392f (patch) | |
tree | 20ec33b57ee8da2737aa53376aa46032bf8860a8 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 54cc20137cb5ea304a298dc63e68c86ebe6a2b89 (diff) | |
parent | 3941555d935afad8343c66f39579bfc611201a6f (diff) | |
download | CMake-5eb2aa1f57e99f30be5ea145ce9af5fd9652392f.zip CMake-5eb2aa1f57e99f30be5ea145ce9af5fd9652392f.tar.gz CMake-5eb2aa1f57e99f30be5ea145ce9af5fd9652392f.tar.bz2 |
Merge topic 'link-objects-first'
3941555d93 target_link_libraries: Place $<TARGET_OBJECTS> before libraries
f530b3a267 OpenWatcom: Add infrastructure to link to object files
8a4ca110e4 cmComputeLinkInformation: Improve type safety of item IsPath member
83ad066ed1 cmComputeTargetDepends: Factor out helper to add object library dependency
7f506b95a7 cmGeneratorTarget: Refactor link item lookup
96809a8541 cmGeneratorTarget: Give temporary link impl item an explicit name
ddffbb8adb cmMakefile: Register explicit object sources more efficiently
18e42d3e63 cmGeneratorExpressionNode: Constify local variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6166
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index c50cc5d..151470b 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1254,7 +1254,7 @@ void cmLocalVisualStudio7GeneratorInternals::OutputLibraries( { cmLocalVisualStudio7Generator* lg = this->LocalGenerator; for (auto const& lib : libs) { - if (lib.IsPath) { + if (lib.IsPath == cmComputeLinkInformation::ItemIsPath::Yes) { std::string rel = lg->MaybeRelativeToCurBinDir(lib.Value.Value); fout << lg->ConvertToXMLOutputPath(rel) << " "; } else if (!lib.Target || |