ClickHouse/rust/chcache/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
433 B
CMake
Raw Normal View History

2024-12-16 00:10:37 +00:00
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()