From 20d5e2d7efd458671e2830e94cd8bc30e14361e5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 17:09:47 +0100 Subject: CMake: Regenerate examples to set the WIN32_EXECUTABLE property As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Task-number: QTBUG-86827 Change-Id: I46769fb543acb2cbeba122470b5e44ad478fbe4e Reviewed-by: Joerg Bornemann --- examples/quick/scenegraph/metaltextureimport/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/quick/scenegraph/metaltextureimport/CMakeLists.txt') diff --git a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt index 9427df536c..d01ee2a3df 100644 --- a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt +++ b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(metaltextureimport main.cpp metaltextureimport.h metaltextureimport.mm ) +set_target_properties(metaltextureimport PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(metaltextureimport PUBLIC "-framework Metal" Qt::Core -- cgit v1.2.3