From 2c3d35802f738d003a983378ae408716a707e8ec Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 10 Apr 2013 22:41:46 +0300 Subject: Can use Apple frameworks with Objective C. --- test cases/objc/2 nsstring/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test cases/objc') diff --git a/test cases/objc/2 nsstring/meson.build b/test cases/objc/2 nsstring/meson.build index 9edd646ae..73403266e 100644 --- a/test cases/objc/2 nsstring/meson.build +++ b/test cases/objc/2 nsstring/meson.build @@ -1,5 +1,9 @@ project('nsstring', 'objc') -dep = find_dep('gnustep', required : true) +if host.name() == 'darwin' + dep = find_dep('appleframeworks', modules : 'foundation', required : true) +else + dep = find_dep('gnustep', required : true) +endif exe = executable('stringprog', 'stringprog.m', deps : dep) add_test('stringtest', exe) -- cgit v1.2.3