diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-10 22:41:46 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-10 22:41:46 +0300 |
| commit | 2c3d35802f738d003a983378ae408716a707e8ec (patch) | |
| tree | 8e25135fdaf8671ceb68c154179e209bc5df82ae /test cases/objc | |
| parent | 0ae280ce77cae787b6cc809a7130d746a0bbd261 (diff) | |
| download | meson-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.build | 6 |
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) |
