include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) if(PIGLIT_BUILD_GLX_TESTS) link_libraries ( piglitglxutil ) endif(PIGLIT_BUILD_GLX_TESTS) link_libraries ( ${OPENGL_gl_LIBRARY} ) IF(PIGLIT_BUILD_GLX_TESTS) include_directories( ${GLPROTO_INCLUDE_DIRS} ) link_libraries ( ${X11_X11_LIB} ) piglit_add_executable (glx-create-context-both-es-strings both-es-strings.c common.c) piglit_add_executable (glx-create-context-core-profile core-profile.c common.c) piglit_add_executable (glx-create-context-current-no-framebuffer current-no-framebuffer.c common.c) piglit_add_executable (glx-create-context-default-major-version default-major-version.c common.c) piglit_add_executable (glx-create-context-default-minor-version default-minor-version.c common.c) piglit_add_executable (glx-create-context-ext-no-config-context ext-no-config-context.c common.c) piglit_add_executable (glx-create-context-indirect-es2-profile indirect-es2-profile.c common.c) piglit_add_executable (glx-create-context-invalid-attribute invalid-attribute.c common.c) piglit_add_executable (glx-create-context-invalid-es-version invalid-es-version.c common.c) piglit_add_executable (glx-create-context-invalid-flag invalid-flag.c common.c) piglit_add_executable (glx-create-context-invalid-flag-forward-compatible invalid-flag-forward-compatible.c common.c) piglit_add_executable (glx-create-context-invalid-gl-version invalid-gl-version.c common.c) piglit_add_executable (glx-create-context-invalid-profile invalid-profile.c common.c) piglit_add_executable (glx-create-context-invalid-render-type invalid-render-type.c common.c) piglit_add_executable (glx-create-context-invalid-render-type-color-index invalid-render-type-color-index.c common.c) piglit_add_executable (glx-create-context-invalid-reset-strategy invalid-reset-strategy.c common.c) piglit_add_executable (glx-create-context-pre-GL32-profile pre-GL32-profile.c common.c) piglit_add_executable (glx-create-context-require-robustness require-robustness.c common.c) piglit_add_executable (glx-create-context-valid-attribute-empty valid-attribute-empty.c common.c) piglit_add_executable (glx-create-context-valid-attribute-null valid-attribute-null.c common.c) piglit_add_executable (glx-create-context-valid-flag-forward-compatible valid-flag-forward-compatible.c common.c) piglit_add_executable (glx-create-context-no-error no-error.c common.c) ENDIF(PIGLIT_BUILD_GLX_TESTS) # vim: ft=cmake: