mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29:10 +00:00
CMake: Add option to disable network downloads altogether
This is useful for fully offline builds, and some distribution platforms
This commit is contained in:
parent
b046940679
commit
68953f798b
Notes:
sideshowbarker
2024-07-17 03:59:29 +09:00
Author: https://github.com/ADKaster
Commit: 68953f798b
Pull-request: https://github.com/SerenityOS/serenity/pull/20417
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/trflynn89
3 changed files with 5 additions and 0 deletions
|
@ -26,3 +26,4 @@ serenity_option(ENABLE_JAKT OFF CACHE BOOL "Enable building jakt files")
|
|||
serenity_option(JAKT_SOURCE_DIR "" CACHE STRING "Pre-existing jakt language source directory")
|
||||
|
||||
serenity_option(SERENITY_CACHE_DIR "${PROJECT_BINARY_DIR}/../caches" CACHE PATH "Location of shared cache of downloaded files")
|
||||
serenity_option(ENABLE_NETWORK_DOWNLOADS ON CACHE BOOL "Allow downloads of required files. If OFF, required files must already be present in SERENITY_CACHE_DIR")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue