From 0ccc255f0e097b823537c37495b39de554f600fb Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 19 Jan 2017 13:13:06 -0800 Subject: [linux] mesa 13.0.3 --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 92b0715b5e..6265c05069 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,14 +19,8 @@ if(WITH_OSMESA AND WITH_EGL) message(FATAL_ERROR "WITH_OSMESA and WITH_EGL are mutually exclusive.") endif() -if(WITH_OSMESA) - # Default mesa mason binary is OSMesa. - set(MASON_MESA_SUFFIX "") -elseif(WITH_EGL) +if(WITH_EGL) add_definitions(-DMBGL_USE_GLES2=1) - set(MASON_MESA_SUFFIX "-egl") -else() - set(MASON_MESA_SUFFIX "-glx") endif() if(IS_CI_BUILD) -- cgit v1.2.1