Commit 74b0345a authored by hybrid's avatar hybrid

Added framework option for compiling under OSX with Makefile. Suggested by...

Added framework option for compiling under OSX with Makefile. Suggested by blues2008. Please note that default is still using X11, you need to disable the X11 linking and enable the framework line. Also make sure to use the proper device and config settings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3053 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 34121ef4
......@@ -92,6 +92,8 @@ staticlib_osx sharedlib_osx: CXXINCS += -IMacOSX -I/usr/X11R6/include
sharedlib_osx install_osx: SHARED_LIB = libIrrlicht.dylib
staticlib_osx sharedlib_osx: LDFLAGS += --no-export-all-symbols --add-stdcall-alias
sharedlib_osx: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm
# for non-X11 app
#sharedlib_osx: LDFLAGS += -framework cocoa -framework carbon -framework opengl -framework IOKit
#Windows specific options
IRRLICHT_DLL := ../../bin/Win32-gcc/Irrlicht.dll
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment