mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
Merge topic 'GNU-linker-pushpop_state-detection'
d5be7c7f31Linker: Detect GNU push-state/pop-state flags more robustly7b552b9a64Linker: Save GNU push-/pop-state detection with compiler inspection resultsa9b126b0daLinker: Save linker inspection results with compiler inspection results3f5f2b2d49Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !10468
This commit is contained in:
@@ -193,8 +193,8 @@ bool IsFeatureSupported(cmMakefile* makefile, std::string const& linkLanguage,
|
||||
{
|
||||
auto featureSupported = cmStrCat(
|
||||
"CMAKE_", linkLanguage, "_LINK_LIBRARY_USING_", feature, "_SUPPORTED");
|
||||
if (makefile->GetDefinition(featureSupported).IsOn()) {
|
||||
return true;
|
||||
if (cmValue perLangVar = makefile->GetDefinition(featureSupported)) {
|
||||
return perLangVar.IsOn();
|
||||
}
|
||||
|
||||
featureSupported =
|
||||
|
||||
Reference in New Issue
Block a user