diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-05-28 16:24:56 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-06-04 10:43:21 +0200 |
commit | d232a7a6f30927cb7e9107c9357bc53e2b1ae0f9 (patch) | |
tree | f554b231b47bfa707e7625bbd6d6a7b20ded3a8c /platform/linux | |
parent | 500cf3864e2897ac8315c580f16d454296eb917f (diff) | |
download | qtlocation-mapboxgl-d232a7a6f30927cb7e9107c9357bc53e2b1ae0f9.tar.gz |
[linux] link EGL backend against SwiftShader to avoid Mesa dependency
Diffstat (limited to 'platform/linux')
-rw-r--r-- | platform/linux/config.cmake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake index 5f4bf143b0..d960a02d1c 100644 --- a/platform/linux/config.cmake +++ b/platform/linux/config.cmake @@ -1,5 +1,4 @@ mason_use(glfw VERSION 2017-07-13-67c9155) -mason_use(mesa VERSION 13.0.4) mason_use(sqlite VERSION 3.14.2) mason_use(libuv VERSION 1.9.1) mason_use(nunicode VERSION 1.7.1) @@ -29,8 +28,6 @@ target_link_libraries(mbgl-loop-uv target_add_mason_package(mbgl-loop-uv PUBLIC libuv) macro(mbgl_platform_core) - target_add_mason_package(mbgl-core PUBLIC mesa) - if(WITH_OSMESA) target_sources(mbgl-core PRIVATE platform/default/headless_backend_osmesa.cpp @@ -42,10 +39,8 @@ macro(mbgl_platform_core) target_sources(mbgl-core PRIVATE platform/linux/src/headless_backend_egl.cpp ) - target_link_libraries(mbgl-core - PUBLIC -lGLESv2 - PUBLIC -lEGL - ) + mason_use(swiftshader VERSION 2017-11-20) + target_add_mason_package(mbgl-core PUBLIC swiftshader) else() target_sources(mbgl-core PRIVATE platform/linux/src/headless_backend_glx.cpp |