aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/tracetargets.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/cmake/tracetargets.py')
-rw-r--r--mesonbuild/cmake/tracetargets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/cmake/tracetargets.py b/mesonbuild/cmake/tracetargets.py
index 9873845..2b2b93d 100644
--- a/mesonbuild/cmake/tracetargets.py
+++ b/mesonbuild/cmake/tracetargets.py
@@ -87,6 +87,7 @@ def resolve_cmake_trace_targets(target_name: str,
curr_path = Path(*path_to_framework)
framework_path = curr_path.parent
framework_name = curr_path.stem
+ res.public_compile_opts += [f"-F{framework_path}"]
res.libraries += [f'-F{framework_path}', '-framework', framework_name]
else:
res.libraries += [curr]