fix: don't always build updater on platforms besides mac
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
5aa2b88861
commit
069bc887f1
2 changed files with 6 additions and 1 deletions
|
@ -347,6 +347,11 @@ add_subdirectory(program_info)
|
|||
####################################### Install layout #######################################
|
||||
|
||||
set(Launcher_ENABLE_UPDATER NO)
|
||||
set(Launcher_BUILD_UPDATER NO)
|
||||
|
||||
if (NOT APPLE AND (NOT Launcher_UPDATER_GITHUB_REPO STREQUAL "" AND NOT Launcher_BUILD_ARTIFACT STREQUAL ""))
|
||||
set(Launcher_BUILD_UPDATER YES)
|
||||
endif()
|
||||
|
||||
if(NOT (UNIX AND APPLE))
|
||||
# Install "portable.txt" if selected component is "portable"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue