summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-05-26 13:21:45 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-05-26 17:47:21 +0200
commit644d023031e5c17550a29dbfd2a2ff8042130203 (patch)
tree63e3563cbfc9fde9c5ad47b125278cce622b4ebf /examples/wayland/pure-qml
parent730e0a0520aad5096dd0738e39320eaf15d2a6bc (diff)
CMake: Regenerate projects
Change-Id: I51a365ef29277bfcb3a62d04954dbe109ab6eac7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/wayland/pure-qml')
-rw-r--r--examples/wayland/pure-qml/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/wayland/pure-qml/CMakeLists.txt b/examples/wayland/pure-qml/CMakeLists.txt
index af504bfbe..c317f70bf 100644
--- a/examples/wayland/pure-qml/CMakeLists.txt
+++ b/examples/wayland/pure-qml/CMakeLists.txt
@@ -9,7 +9,11 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples/wayland/pure-qml")
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/wayland/pure-qml")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)