From 5dfde9616bb90aedad5b4c73920012b1896da180 Mon Sep 17 00:00:00 2001
From: Davide Basso <davide.basso@skywarder.eu>
Date: Tue, 17 Dec 2024 19:24:12 +0100
Subject: [PATCH] [SBS] Fix build on MacOS

Co-Authored-By: BearToCode <davidebasso03@gmail.com>
---
 sbs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbs b/sbs
index 8a136b0f1..ac46dcad5 100755
--- a/sbs
+++ b/sbs
@@ -378,7 +378,7 @@ build_impl() {
     declare opts
     get_build_opts opts $jobs
 
-    cmake --build "$build_dir" "${opts[@]}" --target "$target"
+    cmake --build "$build_dir" --target "$target" "${opts[@]}"
 }
 
 flash_impl() {
-- 
GitLab