#add_definitions(-DSOURCE_DIR="${piglit_SOURCE_DIR}/") include_directories( ${OPENGL_INCLUDE_PATH} ) link_libraries( ${EGL_LDFLAGS} piglitutil_gles2 ) if(PIGLIT_BUILD_DMA_BUF_TESTS) add_definitions(-DHAVE_LIBDRM) include_directories( ${LIBDRM_INCLUDE_DIRS} ) piglit_add_executable(ext_image_dma_buf_import-refcount refcount.c sample_common.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-sample_yuv sample_yuv.c sample_common.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-sample_rgb sample_rgb.c sample_common.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-transcode-nv12-as-r8-gr88 transcode-nv12-as-r8-gr88.c image_common.c) piglit_add_executable(ext_image_dma_buf_import-export export.c sample_common.c image_common.c) endif() # vim: ft=cmake: