diff --git a/hooks/conan-center.py b/hooks/conan-center.py index 0ba8fdb2..1d61e497 100644 --- a/hooks/conan-center.py +++ b/hooks/conan-center.py @@ -1344,7 +1344,7 @@ def test(out): uppercase_system_libs = [] def _collect_uppercase_system_libs(component): - uppercase_system_libs.extend([lib for lib in component.system_libs if lib != lib.lower()]) + uppercase_system_libs.extend([lib for lib in component.system_libs if not lib.islower())]) if not conanfile.cpp_info.components: _collect_uppercase_system_libs(conanfile.cpp_info)