aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/cmakebuildsys/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/depends/target/cmakebuildsys/Makefile b/tools/depends/target/cmakebuildsys/Makefile
index 934d1ad9d1..fa35ca9146 100644
--- a/tools/depends/target/cmakebuildsys/Makefile
+++ b/tools/depends/target/cmakebuildsys/Makefile
@@ -14,8 +14,10 @@ ifeq ($(OS),darwin_embedded)
# cmake toolset option buildsystem selects the legacy xcode build system
# cmake 3.19+ with xcode 12 defaults to the new build system. Stick with the legacy
# system for now for our building
- CMAKE_BUILD_ARGUMENTS = -G Xcode -T buildsystem=1
+ CMAKE_BUILD_ARGUMENTS = -G Xcode
else ifeq ($(GEN),Xcode)
+ CMAKE_BUILD_ARGUMENTS = -G Xcode
+else ifeq ($(GEN),Xcodelegacy)
CMAKE_BUILD_ARGUMENTS = -G Xcode -T buildsystem=1
else ifeq ($(GEN),Ninja)
CMAKE_BUILD_ARGUMENTS = -G "Ninja" -DCMAKE_BUILD_TYPE=$(Configuration)