Skip to content

Commit

Permalink
set CMAKE_OSX_ARCHITECTURES for OSX universal build.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed Dec 12, 2023
1 parent a5f20f4 commit ffec1a5
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit ffec1a5

Please sign in to comment.