cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / wgl / CMakeLists.gl.txt
blob0c8135f794f22127a61bc906a7b6c55fc938edfa
2 include_directories(
3         ${GLEXT_INCLUDE_DIR}
4         ${OPENGL_INCLUDE_PATH}
7 if(PIGLIT_BUILD_WGL_TESTS)
8         link_libraries (
9                 piglitwglutil
10         )
11 endif(PIGLIT_BUILD_WGL_TESTS)
13 link_libraries (
14         ${OPENGL_gl_LIBRARY}
17 IF(PIGLIT_BUILD_WGL_TESTS)
18         include_directories(
19                 ${GLPROTO_INCLUDE_DIRS}
20         )
21         link_libraries (
22                 ${X11_X11_LIB}
23         )
24         piglit_add_executable (wgl-sanity wgl-sanity.c)
25         piglit_add_executable (wgl-multi-context-single-window wgl-multi-context-single-window.c)
26         piglit_add_executable (wgl-multi-window-single-context wgl-multi-window-single-context.c)
27 ENDIF(PIGLIT_BUILD_WGL_TESTS)
29 # vim: ft=cmake: