qt5base-lts/util/cmake
Simon Hausmann 519ef817ff Fix Desktop GL/EGL/GLESv2 linkage
This change fixes a few things in one go:

  * cmake's FindOpenGL cannot be used reliably to detect EGL. So use a
    custom module for that.
  * Added a custom module for GLESv2 detection, as cmake's FindOpenGL
    does not support that.
  * Map CONFIG += opengl to a WrapOpenGL target, which links against
    either GLESv2 or libGL - just like mkspecs/features/*/opengl.prf
  * cmake's FindOpenGL remains in use solely to detect the availability
    of desktop gl.

Change-Id: I9315e5ad1fd88e1b7dc7e920053e98fb51fea7fc
Reviewed-by: Volker Krause <volker.krause@kdab.com>
2019-02-12 14:57:30 +00:00
..
tests CMake: pro2cmake.py: Use properties 2019-01-31 08:49:14 +00:00
cmakeconversionrate.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
configurejson2cmake.py Fix Desktop GL/EGL/GLESv2 linkage 2019-02-12 14:57:30 +00:00
generate_module_map.sh Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
helper.py cmake: Search and enable the sqlite[3] plugin 2019-02-12 14:02:22 +00:00
Pipfile CMake: pro2cmake.py: Simplify conditions 2019-01-29 09:29:38 +00:00
pro2cmake.py CMake: pro2cmake.py: Simplify condition generation 2019-02-11 17:16:20 +00:00
run_pro2cmake.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00