diff --git a/validate_special_target.cmake b/validate_special_target.cmake index 52c2d9d..c87b135 100644 --- a/validate_special_target.cmake +++ b/validate_special_target.cmake @@ -4,7 +4,7 @@ # For license and copyright information please follow this link: # https://github.com/desktop-app/legal/blob/master/LEGAL -set(DESKTOP_APP_SPECIAL_TARGET "" CACHE STRING "Use special platform target, like 'mas' for Mac App Store.") +set(DESKTOP_APP_SPECIAL_TARGET "" CACHE STRING "Use special platform target, like 'macstore' for Mac App Store.") function(report_bad_special_target) if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "") @@ -25,7 +25,7 @@ if (WIN32) endif() elseif (APPLE) if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "osx" - AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "mas" + AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "macstore" AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "mac") report_bad_special_target() endif() diff --git a/variables.cmake b/variables.cmake index 1d3ef94..60e794e 100644 --- a/variables.cmake +++ b/variables.cmake @@ -27,7 +27,7 @@ option(DESKTOP_APP_USE_PACKAGED_FONTS "Use preinstalled fonts instead of bundled if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "" OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "uwp" - OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "mas") + OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "macstore") set(disable_autoupdate 1) endif() @@ -43,7 +43,7 @@ if (WIN32) elseif (APPLE) if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "osx") set(build_osx 1) - elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "mas") + elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "macstore") set(build_macstore 1) endif() else()