find_package(OpenGL REQUIRED) _qt_project(qglview FALSE "QAD" "Gui;OpenGL;Xml" "qad_widgets;qad_utils;${OPENGL_LIBRARIES}") _qt_install(qglview FALSE "qad" "out_HDR" "out_QM") qt_sources(test_SRC DIR "qglview_test") qt_wrap(${test_SRC} CPPS test_CPP) qt_add_executable(qglview_test test_CPP) qt_target_link_libraries(qglview_test qglview)