ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / ext_image_dma_buf_import / CMakeLists.gles1.txt
blob0099f5bece34b9e1ca0d9b522c3c19f47f2d8d36
1 #add_definitions(-DSOURCE_DIR="${piglit_SOURCE_DIR}/")
3 include_directories(
4         ${OPENGL_INCLUDE_PATH}
5         )
7 link_libraries(
8         ${EGL_LDFLAGS}
9         piglitutil_gles1
10         )
12 # These tests rely on drm and are hence compiled only on linux/drm platforms
13 if(PIGLIT_BUILD_DMA_BUF_TESTS)
14         add_definitions(-DHAVE_LIBDRM)
16         include_directories(
17                 ${LIBDRM_INCLUDE_DIRS}
18         )
20         piglit_add_executable(ext_image_dma_buf_import-invalid_hints invalid_hints.c image_common.c)
21         piglit_add_executable(ext_image_dma_buf_import-invalid_attributes invalid_attributes.c image_common.c)
22         piglit_add_executable(ext_image_dma_buf_import-missing_attributes missing_attributes.c image_common.c)
23         piglit_add_executable(ext_image_dma_buf_import-ownership_transfer ownership_transfer.c image_common.c)
24         piglit_add_executable(ext_image_dma_buf_import-unsupported_format unsupported_format.c image_common.c)
25         piglit_add_executable(ext_image_dma_buf_import-intel_external_sampler_only intel_external_sampler_only.c image_common.c)
26 endif()
28 # vim: ft=cmake: