aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/compilers/mixins/clike.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py
index d978f69..49b9567 100644
--- a/mesonbuild/compilers/mixins/clike.py
+++ b/mesonbuild/compilers/mixins/clike.py
@@ -1177,9 +1177,7 @@ class CLikeCompiler(Compiler):
Finds the framework with the specified name, and returns link args for
the same or returns None when the framework is not found.
'''
- # TODO: maybe this belongs in clang? also, should probably check for macOS?
- if self.id != 'clang':
- raise mesonlib.MesonException('Cannot find frameworks with non-clang compiler')
+ # TODO: should probably check for macOS?
return self._find_framework_impl(name, env, extra_dirs, allow_system)
def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]: