From 8e80b3fd2fea8bf11abaeb108d85b2bdfbe14695 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 25 Feb 2015 22:13:07 +0100 Subject: build: move QuartzCore linking to the cocoa check It's needed for the DisplayLink functions so it must be enabled for the basic cocoa code. --- waftools/fragments/cocoa.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'waftools/fragments') diff --git a/waftools/fragments/cocoa.m b/waftools/fragments/cocoa.m index 8096afb613..3c6230401d 100644 --- a/waftools/fragments/cocoa.m +++ b/waftools/fragments/cocoa.m @@ -9,5 +9,7 @@ int main(int argc, char **argv) { NSArray *ary = @[@1, @2, @3]; NSLog(@"test subscripting: %@", ary[0]); NSApplicationLoad(); + CVDisplayLinkRef link; + CVDisplayLinkCreateWithCGDisplay(0, &link); } } -- cgit v1.2.3