1 2 3 4 5 6 7 8 9 10 11 12 13 14
set(piglit_target_api "gl") add_definitions( -DUSE_OPENGL -DUSE_GLUT ) include_directories( ${GLUT_INCLUDE_DIR} ) link_libraries( ${GLUT_glut_LIBRARY} ) add_subdirectory(${piglit_SOURCE_DIR}/tests ${piglit_BINARY_DIR}/target_api/${piglit_target_api}/tests )