summaryrefslogtreecommitdiffstats
path: root/examples/widgets/draganddrop/dropsite
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/draganddrop/dropsite')
-rw-r--r--examples/widgets/draganddrop/dropsite/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/draganddrop/dropsite/CMakeLists.txt b/examples/widgets/draganddrop/dropsite/CMakeLists.txt
index 863a757f39..5b6e5be435 100644
--- a/examples/widgets/draganddrop/dropsite/CMakeLists.txt
+++ b/examples/widgets/draganddrop/dropsite/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(dropsite WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(dropsite
droparea.cpp droparea.h
dropsitewindow.cpp dropsitewindow.h
main.cpp
@@ -25,4 +25,5 @@ target_link_libraries(dropsite PUBLIC
install(TARGETS dropsite
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)