Skip to content

Commit

Permalink
fix macOS build target
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Nov 11, 2024
1 parent c90d848 commit f372bc9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/cibw_before_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ fi
cd src/liblsl
# https://labstreaminglayer.readthedocs.io/dev/lib_dev.html#configuring-the-liblsl-project
set -x
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
if [[ "$RUNNER_OS" == 'macOS' ]]; then
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 \
else
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
fi
cmake --build build --config release
echo "Done building liblsl:"
ls -alt build
Expand Down

0 comments on commit f372bc9

Please sign in to comment.