From bf7da77a2b3b7ce572aa1af00dd330ff477c1478 Mon Sep 17 00:00:00 2001 From: Yann de Mont-Marin Date: Wed, 12 Feb 2025 00:32:45 +0100 Subject: [PATCH] Small typo fix --- recipes/sdl3/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes/sdl3/build.sh b/recipes/sdl3/build.sh index bd2a0bc23fbfd..93fc90c59a8ce 100644 --- a/recipes/sdl3/build.sh +++ b/recipes/sdl3/build.sh @@ -1,8 +1,8 @@ #!/bin/sh if [[ ${HOST} =~ .*darwin.* ]]; then - # Adapt cflags for the sdk in use - export CFLAGS="${CFLAGS} -isysroot ${SDKROOT:-$CONDA_BUILD_SYSROOT}" + # Adapt cflags for the sdk in use + export CFLAGS="${CFLAGS} -isysroot ${SDKROOT:-$CONDA_BUILD_SYSROOT}" # Additional build option depending on target architecture if [[ "${target_platform}" == "osx-arm64" ]]; then @@ -13,12 +13,15 @@ if [[ ${HOST} =~ .*darwin.* ]]; then fi fi +# Configure using the CMakeFiles cmake -S . -B build ${CMAKE_ARGS} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=$PREFIX \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ $ADDITIONAL_OPTIONS +# Build cmake --build build --config Release +# Install cmake --install build --config Release --prefix $PREFIX