File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ endif()
1515
1616project (qSQLbrowser)
1717
18+ set (CMAKE_INSTALL_BINDIR .)
1819find_package (Qt6 REQUIRED COMPONENTS Widgets Sql)
1920qt_standard_project_setup()
2021
@@ -37,13 +38,18 @@ set_target_properties(qSQLbrowser PROPERTIES
3738
3839set (CMAKE_INSTALL_MESSAGE "-- Installing: ${CMAKE_INSTALL_PREFIX} " )
3940install (TARGETS qSQLbrowser
40- BUNDLE DESTINATION bin
41- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
41+ BUNDLE DESTINATION .
4242)
4343
44- qt_generate_deploy_app_script (
44+ qt_generate_deploy_script (
4545 TARGET qSQLbrowser
4646 OUTPUT_SCRIPT deploy_script
47- NO_UNSUPPORTED_PLATFORM_ERROR
48- )
47+ CONTENT "
48+ qt_deploy_runtime_dependencies(
49+ EXECUTABLE \" ./$<TARGET_FILE_NAME:qSQLbrowser>\"
50+ GENERATE_QT_CONF
51+ PLUGINS_DIR QtPlugins
52+ VERBOSE
53+ NO_TRANSLATIONS
54+ )" )
4955install (SCRIPT ${deploy_script} )
You can’t perform that action at this time.
0 commit comments