Added a property to indicate compositor support
This commit is contained in:
parent
b9e3ed67f0
commit
fa4ef2ab52
1 changed files with 6 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Reference in a new issue