summaryrefslogtreecommitdiff
path: root/tests/glx/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glx/CMakeLists.txt')
-rw-r--r--tests/glx/CMakeLists.txt33
1 files changed, 1 insertions, 32 deletions
diff --git a/tests/glx/CMakeLists.txt b/tests/glx/CMakeLists.txt
index 18f2a2767..144a306f4 100644
--- a/tests/glx/CMakeLists.txt
+++ b/tests/glx/CMakeLists.txt
@@ -1,32 +1 @@
-
-include_directories(
- ${OPENGL_INCLUDE_PATH}
- ${GLUT_INCLUDE_DIR}
- ${piglit_SOURCE_DIR}/tests/util
-)
-
-link_libraries (
- piglitglxutil
- ${OPENGL_gl_LIBRARY}
- ${OPENGL_glu_LIBRARY}
- ${GLUT_glut_LIBRARY}
- ${TIFF_LIBRARY}
- ${X11_X11_LIB}
-)
-
-IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- add_executable (glx-shader-sharing glx-shader-sharing.c)
- add_executable (glx-destroycontext-1 glx-destroycontext-1.c)
- add_executable (glx-destroycontext-2 glx-destroycontext-2.c)
- add_executable (glx-multithread glx-multithread.c)
- add_executable (glx-make-current glx-make-current.c)
- add_executable (glx-swap-event glx-swap-event.c)
- add_executable (glx-make-glxdrawable-current glx-make-glxdrawable-current.c)
- target_link_libraries(glx-multithread pthread X11)
- add_executable (glx-swap-exchange glx-swap-exchange.c)
- target_link_libraries(glx-swap-exchange X11)
- add_executable (glx-tfp glx-tfp.c)
- target_link_libraries(glx-tfp X11)
-
- add_executable (glx-visuals-stencil glx-visuals-stencil.c)
-ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+piglit_include_target_api()