Skip to content

Commit

Permalink
Fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Apr 8, 2024
1 parent 72d1acf commit 0fe31e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/realm_dart/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"configurePreset": "macos",
"nativeToolOptions": [
"-destination",
"platform=macOS"
"generic/platform=macOS"
],
"configuration": "Debug"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/realm_dart/scripts/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ set -o pipefail
cd "$(dirname "$0")/.."

cmake --preset macos
cmake --build --preset macos --config MinSizeRel -- -destination "generic/platform=macOS"
cmake --build --preset macos --config Release -- -destination "generic/platform=macOS"

0 comments on commit 0fe31e9

Please sign in to comment.