qt5base-lts/tests/manual/rhi/imguirenderer/CMakeLists.txt
Amir Masoud Abdol 8c4d81484c Replace PUBLIC_LIBRARIES with LIBRARIES in qt_internal_add_manual_test
Noticed the warnings when building the manual tests.

Pick-to: 6.5
Change-Id: I7f927f42f11d234ec3c980f36d8e12c0c49be712
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-04-13 20:16:08 +02:00

31 lines
760 B
CMake

qt_internal_add_manual_test(imguirenderer
GUI
SOURCES
imguirenderer.cpp
LIBRARIES
Qt::Gui
Qt::GuiPrivate
)
set_source_files_properties("../shared/texture.vert.qsb"
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb"
)
set_source_files_properties("../shared/texture.frag.qsb"
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb"
)
set_source_files_properties("../shared/qt256.png"
PROPERTIES QT_RESOURCE_ALIAS "qt256.png"
)
qt_internal_add_resource(imguirenderer "imguirenderer"
PREFIX
"/"
FILES
"../shared/texture.vert.qsb"
"../shared/texture.frag.qsb"
"../shared/qt256.png"
)
set(imgui_base ../shared/imgui)
set(imgui_target imguirenderer)
include(${imgui_base}/imgui.cmakeinc)