Make EGL tests conditional

If EGL is not found, don't run the tests.
parent fc24a541
......@@ -5,12 +5,15 @@ add_subdirectory (fbo)
add_subdirectory (general)
add_subdirectory (glean)
add_subdirectory (glx)
add_subdirectory (egl)
add_subdirectory (glslparsertest)
add_subdirectory (asmparsertest)
add_subdirectory (shaders)
add_subdirectory (texturing)
IF(OPENGL_egl_LIBRARY)
add_subdirectory (egl)
ENDIF(OPENGL_egl_LIBRARY)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_subdirectory (mesa)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment