Skip to content

Commit

Permalink
Update some drivers for OSX universal builds (#134)
Browse files Browse the repository at this point in the history
The versions for `acquire-driver-common`, `acquire-driver-hdcam`, and
`acquire-driver-egrabber` were out of date. This PR updates them and
thereby fixes a regression where Acquire can't be imported on ARM Macs.
  • Loading branch information
aliddell authored Dec 13, 2023
1 parent b38e2bd commit 2f3ec2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "acquire-imaging"
authors = ["Nathan Clack <[email protected]>"]
version = "0.2.1"
version = "0.2.2"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn main() {
.define("NO_UNIT_TESTS", "TRUE")
.define("NO_EXAMPLES", "TRUE")
.define("CMAKE_OSX_DEPLOYMENT_TARGET", "10.15")
.define("CMAKE_OSX_ARCHITECTURES", "x86_64;arm64")
.build();

let drivers_json =
Expand Down
6 changes: 3 additions & 3 deletions drivers.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"acquire-driver-common": "0.1.5",
"acquire-driver-common": "0.1.6",
"acquire-driver-zarr": "0.1.7",
"acquire-driver-egrabber": "0.1.4",
"acquire-driver-hdcam": "0.1.6",
"acquire-driver-egrabber": "0.1.5",
"acquire-driver-hdcam": "0.1.7",
"acquire-driver-spinnaker": "0.1.1"
}

0 comments on commit 2f3ec2a

Please sign in to comment.