diff options
author | Pyry Haulos <phaulos@google.com> | 2014-11-21 14:56:21 -0800 |
---|---|---|
committer | Pyry Haulos <phaulos@google.com> | 2014-12-04 11:50:50 -0800 |
commit | a017863963f9194666b813f6ef88130288a5fc50 (patch) | |
tree | 7ed844e2e81b56f9b4888ba1b1631d05e92bba8f /targets | |
parent | da5b95934637f27e7fc3894dd69a49cb73b6d16b (diff) | |
download | VK-GL-CTS-a017863963f9194666b813f6ef88130288a5fc50.tar.gz VK-GL-CTS-a017863963f9194666b813f6ef88130288a5fc50.tar.bz2 VK-GL-CTS-a017863963f9194666b813f6ef88130288a5fc50.zip |
Generate EGL framework .inl files from Khronos XML registry
This change adds support for producing auto-generated parts of the EGL
framework from official Khronos XML API description.
The change comes with some refactoring of opengl generator scripts as
common code is moved to scripts/khr_util.
Bug: 18273960
Change-Id: I4da9a1a5fae02854e3de3facfc93b325e3087502
Diffstat (limited to 'targets')
-rw-r--r-- | targets/x11_egl_glx/x11_egl_glx.cmake | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/targets/x11_egl_glx/x11_egl_glx.cmake b/targets/x11_egl_glx/x11_egl_glx.cmake index 438b85f9f..3772922a0 100644 --- a/targets/x11_egl_glx/x11_egl_glx.cmake +++ b/targets/x11_egl_glx/x11_egl_glx.cmake @@ -1,7 +1,7 @@ message("*** Using X11 EGL/GLX target") set(DEQP_TARGET_NAME "X11 EGL/GLX") -set(DEQP_RUNTIME_LINK ON) +set(DEQP_RUNTIME_LINK OFF) set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) set(DEQP_SUPPORT_OPENGL ON) @@ -16,5 +16,12 @@ if (NOT X11_FOUND) message(FATAL_ERROR "X11 development package not found") endif () -set(DEQP_PLATFORM_LIBRARIES ${X11_LIBRARIES}) +find_library(EGL_LIBRARY EGL) +if (NOT EGL_LIBRARY) + message(FATAL_ERROR "EGL library not found") +endif() + +set(DEQP_EGL_LIBRARIES ${EGL_LIBRARY}) +set(DEQP_PLATFORM_LIBRARIES ${X11_LIBRARIES}) + include_directories(${X11_INCLUDE_DIR}) |