11 lines
433 B
CMake
11 lines
433 B
CMake
if (((DEFINED QGLVIEW) AND QGLVIEW) OR (NOT DEFINED QGLVIEW))
|
|
find_package(OpenGL REQUIRED)
|
|
shstk_qt_project(qglview FALSE "qad" "Gui;OpenGL;Xml" "qad_widgets;qad_utils;${OPENGL_LIBRARIES}")
|
|
shstk_qt_install("qad" FALSE qglview "${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)
|
|
endif()
|