1
0
Fork 0

Added a property to indicate compositor support

This commit is contained in:
Fernando García Liñán 2019-05-20 23:44:16 +02:00
parent b9e3ed67f0
commit fa4ef2ab52

View file

@ -252,6 +252,12 @@ void fgSetDefaults ()
v->setValueReadOnly("build-id", JENKINS_BUILD_ID);
v->setValueReadOnly("hla-support", bool(FG_HAVE_HLA));
v->setValueReadOnly("build-type", FG_BUILD_TYPE);
#ifdef ENABLE_COMPOSITOR
static constexpr bool compositor_support = true;
#else
static constexpr bool compositor_support = false;
#endif
v->setValueReadOnly("compositor-support", compositor_support);
char* envp = ::getenv( "http_proxy" );
if( envp != nullptr )