summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-02-16 17:34:28 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-02-16 17:34:28 (GMT)
commit397ee55cd62dcfcbafb4ff62b189a4192e07d1e5 (patch)
tree47b3304aac407847d1afd338949e04358c4ed72f /Source/cmComputeLinkInformation.cxx
parent1e495fdab92b8ce5f2778c0cbc5e0ed55b056b98 (diff)
downloadCMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.zip
CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.gz
CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.bz2
genex-LINK_LIBRARY: rename configuration variables
To be more consistent between genex and variables as well as the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>* in *_LINK_LIBRARY_USING_<FEATURE>*
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index cf8c9a1..9df2044 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -674,11 +674,11 @@ bool cmComputeLinkInformation::AddLibraryFeature(std::string const& feature)
}
auto featureName =
- cmStrCat("CMAKE_", this->LinkLanguage, "_LINK_USING_", feature);
+ cmStrCat("CMAKE_", this->LinkLanguage, "_LINK_LIBRARY_USING_", feature);
cmValue featureSupported =
this->Makefile->GetDefinition(cmStrCat(featureName, "_SUPPORTED"));
if (!featureSupported.IsOn()) {
- featureName = cmStrCat("CMAKE_LINK_USING_", feature);
+ featureName = cmStrCat("CMAKE_LINK_LIBRARY_USING_", feature);
featureSupported =
this->Makefile->GetDefinition(cmStrCat(featureName, "_SUPPORTED"));
}