File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,11 +186,11 @@ if(LINUX)
186186 )
187187endif ()
188188
189- install (TARGETS ${exeName}
190- BUNDLE DESTINATION .
191- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
192- COMPONENT ${appName}
193- )
189+ # install(TARGETS ${exeName}
190+ # BUNDLE DESTINATION .
191+ # RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
192+ # COMPONENT ${appName}
193+ # )
194194
195195if (APPLE )
196196 set (SIGNING_IDENTITY "-" )#"Developer ID Application: Your Company (ID)") # Define your signing identity
@@ -204,6 +204,18 @@ qt6_generate_deploy_app_script(
204204 NO_TRANSLATIONS
205205)
206206
207+ if (APPLE )
208+ install (TARGETS ${exeName}
209+ BUNDLE DESTINATION .
210+ COMPONENT ${appName}
211+ )
212+ else ()
213+ install (TARGETS ${exeName}
214+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
215+ COMPONENT "${appName} "
216+ )
217+ endif ()
218+
207219install (SCRIPT ${deploy_script}
208220 COMPONENT "${appName} "
209221)
You can’t perform that action at this time.
0 commit comments