include_directories( ${OPENGL_INCLUDE_PATH} ${GLUT_INCLUDE_DIR} ${piglit_SOURCE_DIR}/tests/util ${GLEW_INCLUDE_DIR} ) link_directories ( ${piglit_SOURCE_DIR}/tests/util ) link_libraries ( piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ${GLUT_glut_LIBRARY} ${TIFF_LIBRARY} ${GLEW_glew_LIBRARY} ) add_executable (copytexsubimage copytexsubimage.c) add_executable (cubemap cubemap.c) add_executable (gen-compressed-teximage gen-compressed-teximage.c) add_executable (gen-teximage gen-teximage.c) add_executable (gen-texsubimage gen-texsubimage.c) add_executable (getteximage-simple getteximage-simple.c) add_executable (lodbias lodbias.c) add_executable (s3tc-teximage s3tc-teximage.c) add_executable (s3tc-texsubimage s3tc-texsubimage.c) add_executable (streaming-texture-leak streaming-texture-leak.c) add_executable (tex3d tex3d.c) add_executable (texdepth texdepth.c) add_executable (texrect-many texrect-many.c) add_executable (texredefine texredefine.c) add_executable (tfp tfp.c) add_executable (depth-tex-modes depth-tex-modes.c) add_executable (depth-tex-modes-glsl depth-tex-modes-glsl.c) add_executable (depth-tex-compare depth-tex-compare.c) add_executable (tex-swizzle tex-swizzle.c)