From b8cfb3d131644447246489fb0688eb594fc901d8 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Thu, 2 Sep 2021 08:58:04 -0400 Subject: [PATCH] Support for appleframeworks with GCC and Intel Fixes #8792 Fixes #8733 --- mesonbuild/compilers/mixins/clike.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index d978f693c..49b95675a 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]: