GL: Make sure to use GLU headers.
* The HEADERS_DEPENDENCY isn't needed for GLU as Mesa is a dependency and requires GLU to build * I actually didn't break the build, we were however using the Mesa GLU headers with the external GLU lib which could be bad
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src add-ons screen_savers flurry ;
|
||||
SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
# For GCC2
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src add-ons screen_savers glife ;
|
||||
SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
SubDir HAIKU_TOP src apps glteapot ;
|
||||
SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
@@ -56,9 +56,6 @@ if $(HAIKU_GCC_VERSION[1]) < 3 {
|
||||
}
|
||||
|
||||
|
||||
# Ensure GLU dependency is met
|
||||
Includes [ FGristFiles $(sourcesCc) $(sourcesCpp) ]
|
||||
: $(HAIKU_GLU_HEADERS_DEPENDENCY) ;
|
||||
# Ensure Mesa dependency is met
|
||||
Includes [ FGristFiles $(sourcesCc) $(sourcesCpp) ]
|
||||
: $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SubDir HAIKU_TOP src tests kits opengl glinfo ;
|
||||
|
||||
SubDirSysHdrs $(HAIKU_GLU_HEADERS) ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
# For GCC2
|
||||
|
||||
Reference in New Issue
Block a user