Created
March 7, 2016 19:14
-
-
Save jrsa/3e4b231f60bce99a142b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/chugl_mac.mm b/chugl_mac.mm | |
index 5cd32a1..1fb4612 100644 | |
--- a/chugl_mac.mm | |
+++ b/chugl_mac.mm | |
@@ -28,7 +28,8 @@ | |
#import <Foundation/Foundation.h> | |
#import <AppKit/AppKit.h> | |
#import <OpenGL/OpenGL.h> | |
-#import <CoreGraphics/CoreGraphics.h> | |
+//#import <CoreGraphics/CoreGraphics.h> | |
+#import <ApplicationServices/ApplicationServices.h> | |
#import <dispatch/queue.h> | |
// general includes | |
diff --git a/makefile.osx b/makefile.osx | |
index 9630eb9..aa1d7fc 100644 | |
--- a/makefile.osx | |
+++ b/makefile.osx | |
@@ -4,7 +4,7 @@ OBJCXX_MODULES+=chugl_mac.mm | |
ARCHS?=i386 x86_64 | |
ARCHOPTS=$(addprefix -arch ,$(ARCHS)) | |
-FRAMEWORKS=Foundation AppKit OpenGL CoreGraphics | |
+FRAMEWORKS=Foundation AppKit OpenGL ApplicationServices | |
FLAGS=-D__MACOSX_CORE__ -I$(CK_SRC_PATH) $(ARCHOPTS) -fPIC $(ISYSROOT) | |
LDFLAGS=-bundle $(ARCHOPTS) $(ISYSROOT) $(addprefix -framework ,$(FRAMEWORKS)) -ObjC \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment