Skip to content

Commit b155545

Browse files
committed
Use the universal-osx triplet.
1 parent ae0a14c commit b155545

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build-cmd.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ mkdir -p "$BUILD_DIR"
5353

5454
case "$AUTOBUILD_PLATFORM" in
5555
darwin*)
56-
# Configure with CMake using vcpkg toolchain
56+
# Configure with CMake using vcpkg toolchain with universal binary support
5757
cmake -S "$top" -B "$BUILD_DIR" \
5858
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" \
59-
-DVCPKG_TARGET_TRIPLET=x64-osx \
59+
-DVCPKG_TARGET_TRIPLET=universal-osx \
60+
-DVCPKG_OVERLAY_TRIPLETS="$top/triplets" \
6061
-DCMAKE_BUILD_TYPE=Release \
6162
-DBUILD_SHARED_LIBS=OFF \
6263
-DENTROPY_BUILD_TESTS=OFF \

0 commit comments

Comments
 (0)