ClickHouse/rust/chcache/CMakeLists.txt
Konstantin Bogdanov 41385c5159
Add missing file
2024-12-16 01:10:37 +01:00

20 lines
433 B
CMake

if (COMPILER_CACHE STREQUAL "chcache")
configure_file(".cargo/config.toml.in" ".cargo/config.toml" @ONLY)
corrosion_import_crate(
MANIFEST_PATH Cargo.toml
PROFILE release
LOCKED
FLAGS --offline
)
corrosion_set_env_vars(
chcache
RUSTFLAGS=
RUST_CFLAGS=
RUST_CXXFLAGS=
CFLAGS=
CXXFLAGS=
)
corrosion_set_hostbuild(chcache)
endif()