make meson not download things (#6667)

This commit is contained in:
Charlie Barto 2019-05-31 02:50:05 -07:00 committed by Griffin Downs
parent 69d3605204
commit 7340d6ac55

View File

@ -26,7 +26,7 @@ function(vcpkg_configure_meson)
set(MESON_RELEASE_LDFLAGS "${MESON_RELEASE_LDFLAGS} /INCREMENTAL:NO /OPT:REF /OPT:ICF")
# select meson cmd-line options
list(APPEND _vcm_OPTIONS --buildtype plain --backend ninja)
list(APPEND _vcm_OPTIONS --buildtype plain --backend ninja --wrap-mode nodownload)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
list(APPEND _vcm_OPTIONS --default-library shared)
else()