From c4be23758f05719584f2bc4c676fda81c57a9d63 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 16 Oct 2020 16:10:16 +0200 Subject: CMake: Regenerate qt3d examples Many of the examples were missing find_package() calls. Some were missing some example install dir things. Some missing special cases. Some incorrectly specified library names due to missing mappings in pro2cmake. Some incorrectly specified target names. Change-Id: I131a02dc679502ea6c1cdeb32962e77f09e672af Reviewed-by: Mike Krus --- examples/qt3d/basicshapes-cpp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/qt3d/basicshapes-cpp') diff --git a/examples/qt3d/basicshapes-cpp/CMakeLists.txt b/examples/qt3d/basicshapes-cpp/CMakeLists.txt index fd97f8604..e455623ea 100644 --- a/examples/qt3d/basicshapes-cpp/CMakeLists.txt +++ b/examples/qt3d/basicshapes-cpp/CMakeLists.txt @@ -17,6 +17,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS 3DCore) +find_package(Qt6 COMPONENTS 3DRender) +find_package(Qt6 COMPONENTS 3DInput) +find_package(Qt6 COMPONENTS 3DExtras) find_package(Qt6 COMPONENTS Widgets) add_qt_gui_executable(basicshapes-cpp -- cgit v1.2.3