Browse Source

cmake: Don't compile GLES2 metalib unless we're using one of the libraries that requires it.

Donny Lawrence 6 years ago
parent
commit
e0594ec571
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/metalibs/pandagles2/CMakeLists.txt

+ 1 - 1
panda/metalibs/pandagles2/CMakeLists.txt

@@ -1,4 +1,4 @@
-if(NOT HAVE_GLES2)
+if(NOT HAVE_GLES2 OR NOT HAVE_EAGL)
   return()
   return()
 endif()
 endif()