Browse Source

CMake: Add aux-display entries for GLES plugins.

Donny Lawrence 6 years ago
parent
commit
f55f3a7bb3
1 changed files with 8 additions and 0 deletions
  1. 8 0
      panda/src/configfiles/CMakeLists.txt

+ 8 - 0
panda/src/configfiles/CMakeLists.txt

@@ -13,6 +13,14 @@ if(HAVE_TINYDISPLAY)
   set(AUX_DISPLAYS "${AUX_DISPLAYS}\naux-display p3tinydisplay")
   set(AUX_DISPLAYS "${AUX_DISPLAYS}\naux-display p3tinydisplay")
 endif()
 endif()
 
 
+if(HAVE_GLES)
+  set(AUX_DISPLAYS "${AUX_DISPLAYS}\naux-display pandagles")
+endif()
+
+if(HAVE_GLES2)
+  set(AUX_DISPLAYS "${AUX_DISPLAYS}\naux-display pandagles2")
+endif()
+
 if(HAVE_RAD_MSS)
 if(HAVE_RAD_MSS)
   set(AUDIO_LIBRARY_NAME p3miles_audio)
   set(AUDIO_LIBRARY_NAME p3miles_audio)
 elseif(HAVE_OPENAL)
 elseif(HAVE_OPENAL)