summaryrefslogtreecommitdiffstats
path: root/examples/opengl
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-08 15:59:33 +0100
committerKai Koehne <kai.koehne@qt.io>2021-12-13 14:16:25 +0000
commit28a9d116bba00fde5aaa214bb7c929efc66af971 (patch)
tree8887c2f3f899ee1c2cc3de1bfd54ab47475b000f /examples/opengl
parent85c5ae2ab89c2671a7030a80ac0629a2eea1be89 (diff)
CMake: Prefer unversioned commands
Pick-to: 6.3 Change-Id: Ib32700ab82cf6b271c49e25d12fbad8c9c6bc1d1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/computegles31/CMakeLists.txt2
-rw-r--r--examples/opengl/hellogles3/CMakeLists.txt2
-rw-r--r--examples/opengl/qopenglwindow/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/opengl/computegles31/CMakeLists.txt b/examples/opengl/computegles31/CMakeLists.txt
index dfd73691aa..10c0036887 100644
--- a/examples/opengl/computegles31/CMakeLists.txt
+++ b/examples/opengl/computegles31/CMakeLists.txt
@@ -37,7 +37,7 @@ set(computegles31_resource_files
"Qt-logo-medium.png"
)
-qt6_add_resources(computegles31 "computegles31"
+qt_add_resources(computegles31 "computegles31"
PREFIX
"/"
FILES
diff --git a/examples/opengl/hellogles3/CMakeLists.txt b/examples/opengl/hellogles3/CMakeLists.txt
index 54c1fecb77..365526dde2 100644
--- a/examples/opengl/hellogles3/CMakeLists.txt
+++ b/examples/opengl/hellogles3/CMakeLists.txt
@@ -38,7 +38,7 @@ set(hellogles3_resource_files
"qtlogo.png"
)
-qt6_add_resources(hellogles3 "hellogles3"
+qt_add_resources(hellogles3 "hellogles3"
PREFIX
"/"
FILES
diff --git a/examples/opengl/qopenglwindow/CMakeLists.txt b/examples/opengl/qopenglwindow/CMakeLists.txt
index 539ba08615..06023505e7 100644
--- a/examples/opengl/qopenglwindow/CMakeLists.txt
+++ b/examples/opengl/qopenglwindow/CMakeLists.txt
@@ -41,7 +41,7 @@ set(shaders_resource_files
"background.frag"
)
-qt6_add_resources(qopenglwindow "shaders"
+qt_add_resources(qopenglwindow "shaders"
PREFIX
"/"
FILES