x11_egl: use correct cmake variable name for GLES1 include path
authorTapani Pälli <tapani.palli@intel.com>
Tue, 22 Jan 2019 12:00:23 +0000 (14:00 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 13 Feb 2019 10:31:44 +0000 (05:31 -0500)
commit0e0b8a9f0ed0f9765350bca5000151a90a58bfd5
tree83725af66f94caa894dde90c87634d47c9443e64
parent7c9e22d20a45f8f36f47e1d38e701b73f1c2f571
x11_egl: use correct cmake variable name for GLES1 include path

This commit reverts most of 7b4a66f99 that included a hack to search
for include directory next to the library path. This was invalid since
used variable name PKG_GLES1_INCLUDE_DIRS is false, correct name is
GLES1_INCLUDE_DIRS which is properly set by the PKG_CHECK_MODULES call.

This change has been succesfully tested on Fedora and Ubuntu distros by
setting up a custom PKG_CONFIG_PATH.

VK-GL-CTS issue: 1573

Change-Id: I158d816d28f5bbf30288f6226bd5c9e30cf85285
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
targets/x11_egl/x11_egl.cmake