check for libMali.so in additional locations

This commit is contained in:
Jools Wills 2016-12-15 17:57:20 +00:00
parent e2bb889d01
commit a97a8a3090

View file

@ -26,9 +26,11 @@ else()
endif() endif()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#check if we're running on olinuxino #check if we're running on olinuxino / odroid / etc
MESSAGE("Looking for libMali.so") MESSAGE("Looking for libMali.so")
if(EXISTS "/usr/lib/libMali.so") if(EXISTS "/usr/lib/libMali.so" OR
EXISTS "/usr/lib/arm-linux-gnueabihf/libMali.so" OR
EXISTS "/usr/lib/aarch64-linux-gnu/libMali.so")
MESSAGE("libMali.so found") MESSAGE("libMali.so found")
set(GLSystem "OpenGL ES") set(GLSystem "OpenGL ES")
else() else()