tests/demos: Fix OpenGL gears test build
This commit is contained in:
@@ -1,26 +1,23 @@
|
|||||||
SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
||||||
UseBuildFeatureHeaders mesa ;
|
UseBuildFeatureHeaders mesa ;
|
||||||
|
UseBuildFeatureHeaders glu ;
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
UseLibraryHeaders glut ;
|
||||||
|
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
|
||||||
# Needed for <GL/glut.h>, not present in R5.
|
|
||||||
# Unfortunately we also get the other headers there,
|
|
||||||
# that we don't really want.
|
|
||||||
UsePublicHeaders opengl ;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
local sources =
|
local sources =
|
||||||
gears.c
|
gears.c
|
||||||
;
|
;
|
||||||
|
|
||||||
Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
|
Includes [ FGristFiles $(sources) ]
|
||||||
|
:
|
||||||
|
[ BuildFeatureAttribute mesa : headers ]
|
||||||
|
[ BuildFeatureAttribute glu : headers ]
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
SimpleTest GLGears :
|
SimpleTest GLGears :
|
||||||
$(sources)
|
$(sources)
|
||||||
:
|
:
|
||||||
be
|
be libglut.so
|
||||||
[ BuildFeatureAttribute mesa : library ]
|
[ BuildFeatureAttribute mesa : library ]
|
||||||
|
[ BuildFeatureAttribute glu : library ]
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user