summaryrefslogtreecommitdiff
path: root/test cases/objc
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-04-10 22:41:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-04-10 22:41:46 +0300
commit2c3d35802f738d003a983378ae408716a707e8ec (patch)
tree8e25135fdaf8671ceb68c154179e209bc5df82ae /test cases/objc
parent0ae280ce77cae787b6cc809a7130d746a0bbd261 (diff)
downloadmeson-2c3d35802f738d003a983378ae408716a707e8ec.tar.gz
Can use Apple frameworks with Objective C.
Diffstat (limited to 'test cases/objc')
-rw-r--r--test cases/objc/2 nsstring/meson.build6
1 files changed, 5 insertions, 1 deletions
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)