diff options
Diffstat (limited to 'examples/widgets/desktop/screenshot/CMakeLists.txt')
-rw-r--r-- | examples/widgets/desktop/screenshot/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/desktop/screenshot/CMakeLists.txt b/examples/widgets/desktop/screenshot/CMakeLists.txt index 4c207f1bef..494515029d 100644 --- a/examples/widgets/desktop/screenshot/CMakeLists.txt +++ b/examples/widgets/desktop/screenshot/CMakeLists.txt @@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples") find_package(Qt5 COMPONENTS Widgets) -add_qt_gui_executable(screenshot WIN32 MACOSX_BUNDLE +add_qt_gui_executable(screenshot main.cpp screenshot.cpp screenshot.h ) @@ -24,4 +24,5 @@ target_link_libraries(screenshot PUBLIC install(TARGETS screenshot RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) |