Add a check for DESKTOP_APP_DISABLE_AUTOUPDATE in external_auto_updates
Like that done for external_crash_reports
This commit is contained in:
parent
95ee188c7b
commit
98c52815e9
2 changed files with 15 additions and 12 deletions
2
external/auto_updates/CMakeLists.txt
vendored
2
external/auto_updates/CMakeLists.txt
vendored
|
|
@ -7,6 +7,7 @@
|
|||
add_library(external_auto_updates INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_auto_updates ALIAS external_auto_updates)
|
||||
|
||||
if (NOT DESKTOP_APP_DISABLE_AUTOUPDATE)
|
||||
if (WIN32 AND NOT DESKTOP_APP_USE_PACKAGED)
|
||||
add_subdirectory(lzma)
|
||||
target_link_libraries(external_auto_updates
|
||||
|
|
@ -20,3 +21,4 @@ else()
|
|||
desktop-app::external_xz
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
1
external/ffmpeg/CMakeLists.txt
vendored
1
external/ffmpeg/CMakeLists.txt
vendored
|
|
@ -64,6 +64,7 @@ else()
|
|||
if (LINUX)
|
||||
target_link_static_libraries(external_ffmpeg
|
||||
INTERFACE
|
||||
lzma
|
||||
va-x11
|
||||
va-drm
|
||||
va
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue