Skip to content

Commit

Permalink
modernize macos demo
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kassa authored and davidbuzz committed Apr 25, 2022
1 parent bb71f26 commit f946941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions demos/mac_app/sources/main.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// waf sample Mac application - main.m
// Chris Pickel, 2011

#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>

int main(int argc, const char* argv[]) {
Expand Down
2 changes: 1 addition & 1 deletion demos/mac_app/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def configure(conf):
if not conf.env.ARCH_ST:
conf.fatal('This example is for macs only')
conf.env.FRAMEWORK_COCOA = 'Cocoa'
conf.env.ARCH_COCOA = ['i386', 'x86_64']
conf.env.ARCH_COCOA = ['x86_64', 'arm64']

def build(bld):
bld.program(
Expand Down

0 comments on commit f946941

Please sign in to comment.