cmake: Better handling of SOLARUS_GL_ES
-
Define SOLARUS_GL_ES if only GLES is found. A build with GLES but no
SOLARUS_GL_ES
isn't a valid configuration. -
If
SOLARUS_GL_ES
is defined, always use GLES even if OpenGL is also present.
Refs #1324 (closed)