From Stefan Eileman, fixes for OSX gmake build to allow AGL or X11 implementation of osgViewer
This commit is contained in:
@@ -13,7 +13,16 @@ CXXFILES = \
|
||||
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
CXXFILES += GraphicsWindowCarbon.cpp
|
||||
ifeq ($(USE_AGL),yes)
|
||||
CXXFILES += GraphicsWindowCarbon.cpp
|
||||
else
|
||||
ifeq ($(USE_CGL),yes)
|
||||
CXXFILES += GraphicsWindowCarbon.cpp
|
||||
else
|
||||
CXXFILES += GraphicsWindowX11.cpp
|
||||
LIBS += $(X_LIBS)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifeq ($(OS),MINGW)
|
||||
CXXFILES += GraphicsWindowWin32.cpp
|
||||
|
||||
Reference in New Issue
Block a user