Skip to content

Commit

Permalink
Small typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ymontmarin authored Feb 11, 2025
1 parent d825e2e commit bf7da77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions recipes/sdl3/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit bf7da77

Please sign in to comment.