Commit 010a34e committed Aug 15, 2024 · 2 / 2
1 parent 50a0194 commit 010a34e Copy full SHA for 010a34e
File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
- Add ` Cargo.lock ` to version control
12
12
13
+ ### Changed
14
+ - Use ` --frozen ` in ` Findzarrs.cmake `
15
+
13
16
## [ 0.8.2] - 2024-08-13
14
17
15
18
### Added
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ FetchContent_Declare(zarrs_ffi_source
20
20
FetchContent_Populate(zarrs_ffi_source)
21
21
22
22
# Fetch the dependencies at configure time using cargo fetch
23
- # get_property(CARGO_EXECUTABLE TARGET Rust::Cargo PROPERTY IMPORTED_LOCATION)
24
- # execute_process(COMMAND ${CARGO_EXECUTABLE} fetch WORKING_DIRECTORY ${zarrs_ffi_source_SOURCE_DIR})
23
+ get_property (CARGO_EXECUTABLE TARGET Rust::Cargo PROPERTY IMPORTED_LOCATION )
24
+ execute_process (COMMAND ${CARGO_EXECUTABLE} fetch WORKING_DIRECTORY ${zarrs_ffi_source_SOURCE_DIR} )
25
25
26
26
# Build zarrs_ffi, creates a zarrs_ffi target aliased to zarrs::zarrs
27
- corrosion_import_crate(MANIFEST_PATH ${zarrs_ffi_source_SOURCE_DIR} /Cargo.toml FEATURES ${zarrs_FIND_COMPONENTS} ) # FLAGS --offline
27
+ corrosion_import_crate(MANIFEST_PATH ${zarrs_ffi_source_SOURCE_DIR} /Cargo.toml FEATURES ${zarrs_FIND_COMPONENTS} FLAGS --frozen)
28
28
# corrosion_experimental_cbindgen(TARGET zarrs_ffi HEADER_NAME "zarrs.h") # not working
29
29
30
30
# add zarrs.h to include directories
You can’t perform that action at this time.
0 commit comments