We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8d62cf + 3c322f5 commit bf70403Copy full SHA for bf70403
CMakeLists.txt
@@ -25,6 +25,16 @@ else()
25
MESSAGE("bcm_host.h not found")
26
endif()
27
28
+#-------------------------------------------------------------------------------
29
+#check if we're running on olinuxino
30
+MESSAGE("Looking for libMali.so")
31
+if(EXISTS "/usr/lib/libMali.so")
32
+ MESSAGE("libMali.so found")
33
+ set(GLSystem "OpenGL ES")
34
+else()
35
+ MESSAGE("libMali.so not found")
36
+endif()
37
+
38
#finding necessary packages
39
#-------------------------------------------------------------------------------
40
if(${GLSystem} MATCHES "Desktop OpenGL")
@@ -167,6 +177,7 @@ else()
167
177
)
168
178
else()
169
179
LIST(APPEND COMMON_LIBRARIES
180
+ EGL
170
181
${OPENGLES_LIBRARIES}
171
182
172
183
0 commit comments