Add a negative test for bitwise not used in a larger expression.
[piglit/hramrach.git] / tests / glx / CMakeLists.txt
blob3606d5b11d8c3c13829ecad5c50d6520fd55a5a0
2 include_directories(
3         ${OPENGL_INCLUDE_PATH}
4         ${GLUT_INCLUDE_DIR}
5         ${piglit_SOURCE_DIR}/tests/util
6         ${GLEW_INCLUDE_DIR}
9 link_directories (
10         ${piglit_SOURCE_DIR}/tests/util
13 link_libraries (
14         piglitglxutil
15         ${OPENGL_gl_LIBRARY}
16         ${OPENGL_glu_LIBRARY}
17         ${GLUT_glut_LIBRARY}
18         ${TIFF_LIBRARY}
19         ${GLEW_glew_LIBRARY}
20         ${X11_X11_LIB}
23 IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
24         add_executable (glx-destroycontext-1 glx-destroycontext-1.c)
25         add_executable (glx-destroycontext-2 glx-destroycontext-2.c)
26         add_executable (glx-multithread glx-multithread.c)
27         target_link_libraries(glx-multithread pthread X11)
28         add_executable (glx-swap-exchange glx-swap-exchange.c)
29         target_link_libraries(glx-swap-exchange X11)
30 ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")