Fix feature flag (#131)

* rm sqlite

* rm sqlite install

* update build dependencies

* add feature flag

Co-authored-by: Maximilian Ammann <max@maxammann.org>
This commit is contained in:
Jackson Shi 2022-06-11 19:12:05 +08:00 committed by GitHub
parent 74ca3ae4e5
commit 70cf25e0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ fn generate_type_def() -> Option<u32> {
Some(5)
}
#[cfg(feature = "embed-static-tiles")]
fn embed_tiles_statically() {
use maplibre_build_tools::mbtiles::extract;
use std::env;
@ -74,5 +75,6 @@ fn embed_tiles_statically() {
fn main() {
validate_project_wgsl();
#[cfg(feature = "embed-static-tiles")]
embed_tiles_statically();
}