mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
CMakeList.txt: add oLinuXino/Mali
This commit is contained in:
parent
c8d62cf881
commit
3c322f55c4
|
@ -25,6 +25,16 @@ else()
|
||||||
MESSAGE("bcm_host.h not found")
|
MESSAGE("bcm_host.h not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
#check if we're running on olinuxino
|
||||||
|
MESSAGE("Looking for libMali.so")
|
||||||
|
if(EXISTS "/usr/lib/libMali.so")
|
||||||
|
MESSAGE("libMali.so found")
|
||||||
|
set(GLSystem "OpenGL ES")
|
||||||
|
else()
|
||||||
|
MESSAGE("libMali.so not found")
|
||||||
|
endif()
|
||||||
|
|
||||||
#finding necessary packages
|
#finding necessary packages
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
if(${GLSystem} MATCHES "Desktop OpenGL")
|
if(${GLSystem} MATCHES "Desktop OpenGL")
|
||||||
|
@ -167,6 +177,7 @@ else()
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
LIST(APPEND COMMON_LIBRARIES
|
LIST(APPEND COMMON_LIBRARIES
|
||||||
|
EGL
|
||||||
${OPENGLES_LIBRARIES}
|
${OPENGLES_LIBRARIES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue