summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene3d')
-rw-r--r--examples/qt3d/scene3d/.prev_CMakeLists.txt4
-rw-r--r--examples/qt3d/scene3d/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/qt3d/scene3d/.prev_CMakeLists.txt b/examples/qt3d/scene3d/.prev_CMakeLists.txt
index f9041d342..dab80e57f 100644
--- a/examples/qt3d/scene3d/.prev_CMakeLists.txt
+++ b/examples/qt3d/scene3d/.prev_CMakeLists.txt
@@ -24,6 +24,10 @@ find_package(Qt6 COMPONENTS 3DInput)
qt_add_executable(scene3d
main.cpp
)
+set_target_properties(scene3d PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(scene3d PUBLIC
Qt::3DInput
Qt::Core
diff --git a/examples/qt3d/scene3d/CMakeLists.txt b/examples/qt3d/scene3d/CMakeLists.txt
index ceef21738..baefd34d5 100644
--- a/examples/qt3d/scene3d/CMakeLists.txt
+++ b/examples/qt3d/scene3d/CMakeLists.txt
@@ -24,6 +24,10 @@ find_package(Qt6 COMPONENTS 3DInput)
qt_add_executable(scene3d
main.cpp
)
+set_target_properties(scene3d PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(scene3d PUBLIC
Qt::3DInput
Qt::Core