From a97a8a30901d8e0b025f283a44b99b2fd4411755 Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Thu, 15 Dec 2016 17:57:20 +0000 Subject: [PATCH] check for libMali.so in additional locations --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48143a523..261215014 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,9 +26,11 @@ else() endif() #------------------------------------------------------------------------------- -#check if we're running on olinuxino +#check if we're running on olinuxino / odroid / etc 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") set(GLSystem "OpenGL ES") else()