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