mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file of project
This commit is contained in:
parent
c3c500e16a
commit
06f1fe7f09
@ -1,11 +1,14 @@
|
||||
option(SAK_ENABLE_LINUXDEPLOYQT "Enable linuxdeployqt" OFF)
|
||||
option(SAK_ENABLE_LINUXDEPLOYQT "Enable linuxdeployqt" OFF)
|
||||
option(SAK_ENABLE_LINUXDEPLOYQT_DOWNLOAD "Enable linuxdeployqt download" OFF)
|
||||
option(SAK_ENABLE_LINUXDEPLOYQT_SYS "Enable linuxdeployqt with system tool" OFF)
|
||||
|
||||
if(${SAK_ENABLE_LINUXDEPLOYQT})
|
||||
if(${SAK_ENABLE_LINUXDEPLOYQT_DOWNLOAD})
|
||||
set(appimagetool_url "https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage")
|
||||
set(linuxdeployqt_url "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage")
|
||||
set(appimagetool_url
|
||||
"https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage")
|
||||
set(linuxdeployqt_url
|
||||
"https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||
)
|
||||
execute_process(COMMAND wget -O ${CMAKE_BINARY_DIR}/linuxdeployqt ${linuxdeployqt_url})
|
||||
execute_process(COMMAND wget -O ${CMAKE_BINARY_DIR}/appimagetool ${appimagetool_url})
|
||||
execute_process(COMMAND chmod +x ${CMAKE_BINARY_DIR}/linuxdeployqt ${linuxdeployqt_url})
|
||||
@ -22,4 +25,4 @@ if(${SAK_ENABLE_LINUXDEPLOYQT})
|
||||
endif()
|
||||
endif()
|
||||
message(STATUS "linuxdeployqt: ${SAK_BIN_LINUXDEPLOYQT}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user