tests/direct_mode: Fix OpenGL direct mode test build
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
SubDir HAIKU_TOP src tests kits opengl direct_mode ;
|
||||
UseBuildFeatureHeaders mesa ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
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 ;
|
||||
}
|
||||
UseBuildFeatureHeaders glu ;
|
||||
|
||||
local sources =
|
||||
GLDirectMode.cpp
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
|
||||
Includes [ FGristFiles $(sources) ]
|
||||
:
|
||||
[ BuildFeatureAttribute mesa : headers ]
|
||||
[ BuildFeatureAttribute glu : headers ]
|
||||
;
|
||||
|
||||
SimpleTest GLDirectMode :
|
||||
$(sources)
|
||||
:
|
||||
be game $(TARGET_LIBSUPC++)
|
||||
[ BuildFeatureAttribute mesa : library ]
|
||||
[ BuildFeatureAttribute glu : library ]
|
||||
: GLDirectMode.rdef
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user