MACRO(ADM_OPEN_GL target)
        IF(USE_OPENGL)
                INCLUDE_DIRECTORIES(${QT_HEADERS_DIR})
        	INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
        	INCLUDE_DIRECTORIES(${QT_QTOPENGL_INCLUDE_DIR}) 
                INCLUDE_DIRECTORIES(${AVIDEMUX_TOP_SOURCE_DIR}/avidemux/qt4/ADM_openGL/include/)
                TARGET_LINK_LIBRARIES(${target} ${OPENGL_LIBRARIES} ${QT_QTOPENGL_LIBRARIES} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}  ADM_openGL${QT_LIBRARY_EXTENSION}6)
        ENDIF(USE_OPENGL)
ENDMACRO(ADM_OPEN_GL target)
