mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
feat: support full-featured cmake install
This commit is contained in:
@@ -230,3 +230,13 @@ if(COMMAND qt_finalize_executable)
|
||||
else()
|
||||
qt_finalize_target(${PROJECT})
|
||||
endif()
|
||||
|
||||
install(TARGETS ${PROJECT} DESTINATION ".")
|
||||
install(FILES $<TARGET_RUNTIME_DLLS:${PROJECT}> DESTINATION ".")
|
||||
|
||||
qt_generate_deploy_qml_app_script(
|
||||
TARGET ${PROJECT}
|
||||
OUTPUT_SCRIPT QT_DEPLOY_SCRIPT
|
||||
NO_UNSUPPORTED_PLATFORM_ERROR
|
||||
)
|
||||
install(SCRIPT ${QT_DEPLOY_SCRIPT})
|
||||
|
||||
Reference in New Issue
Block a user