#add_definitions(-DSOURCE_DIR="${piglit_SOURCE_DIR}/") include_directories( ${OPENGL_INCLUDE_PATH} ) link_libraries( ${EGL_LDFLAGS} piglitutil_gles1 ) # These tests rely on drm and are hence compiled only on linux/drm platforms if(PIGLIT_BUILD_DMA_BUF_TESTS) add_definitions(-DHAVE_LIBDRM) include_directories( ${LIBDRM_INCLUDE_DIRS} ) piglit_add_executable(ext_image_dma_buf_import-invalid_hints invalid_hints.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-invalid_attributes invalid_attributes.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-missing_attributes missing_attributes.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-ownership_transfer ownership_transfer.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-unsupported_format unsupported_format.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-intel_external_sampler_only intel_external_sampler_only.c image_common.c) endif() # vim: ft=cmake: