summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl/qgl/CMakeLists.txt
blob: 6af883447306ef8ab3dc0299f9e9f3f18932ed5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Generated from qgl.pro.

if(NOT TARGET Qt::OpenGL)
    return()
endif()

#####################################################################
## tst_qgl Test:
#####################################################################

add_qt_test(tst_qgl
    SOURCES
        tst_qgl.cpp
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::OpenGLPrivate
        Qt::WidgetsPrivate
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::OpenGL
        Qt::Widgets
)

# Resources:
set_source_files_properties("../../gui/image/qpixmap/images/designer.png"
    PROPERTIES QT_RESOURCE_ALIAS "designer.png"
)
set(qgl_resource_files
    "../../gui/image/qpixmap/images/designer.png"
)

add_qt_resource(tst_qgl "qgl"
    PREFIX
        "/"
    FILES
        ${qgl_resource_files}
)


#### Keys ignored in scope 1:.:.:qgl.pro:<TRUE>:
# _REQUIREMENTS = "qtHaveModule(opengl)"