Skip to content

Commit

Permalink
egl: don't build mmal
Browse files Browse the repository at this point in the history
  • Loading branch information
lrusak authored and popcornmix committed May 10, 2017
1 parent 3709b0d commit 6ec86bb
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions xbmc/windowing/egl/CMakeLists.txt
@@ -1,5 +1,5 @@
if (NOT MIR_FOUND AND NOT X_FOUND)
if(OPENGLES_FOUND OR AML_FOUND OR IMX_FOUND OR MMAL_FOUND)
if (NOT MIR_FOUND AND NOT X_FOUND AND NOT MMAL_FOUND)
if(OPENGLES_FOUND OR AML_FOUND OR IMX_FOUND)
set(SOURCES EGLWrapper.cpp)

set(HEADERS EGLNativeType.h
Expand Down Expand Up @@ -27,13 +27,6 @@ if(AML_FOUND)
list(APPEND SOURCES VideoSyncAML.cpp)
endif()

if(MMAL_FOUND)
list(APPEND SOURCES EGLNativeTypeRaspberryPI.cpp)
list(APPEND HEADERS EGLNativeTypeRaspberryPI.h)
list(APPEND SOURCES VideoSyncPi.cpp)
list(APPEND HEADERS VideoSyncPi.h)
endif()

if(IMX_FOUND)
list(APPEND SOURCES EGLNativeTypeIMX.cpp)
list(APPEND HEADERS EGLNativeTypeIMX.h)
Expand Down

0 comments on commit 6ec86bb

Please sign in to comment.