aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/darwin_embedded
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-01-17 11:56:55 +1000
committerfuzzard <fuzzard@kodi.tv>2022-01-17 12:31:28 +1000
commitd7e7ee41d252b412d7fe6c6085bba83abb208aeb (patch)
treee1443e3f36a895ab65ed4a9d2cbaa51f21d492ea /cmake/scripts/darwin_embedded
parent387df8469f712712bb0865d8095380874c3c985e (diff)
[cmake] set TARBALLS_DIR for overriding tarball download location
TARBALL_DIR is set in common Archsetup after the load of platform archsetup. This allows platforms to potentially set a default if not provided, otherwise fallback to a default
Diffstat (limited to 'cmake/scripts/darwin_embedded')
-rw-r--r--cmake/scripts/darwin_embedded/ArchSetup.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/scripts/darwin_embedded/ArchSetup.cmake b/cmake/scripts/darwin_embedded/ArchSetup.cmake
index b4d4d1b82a..0a47345086 100644
--- a/cmake/scripts/darwin_embedded/ArchSetup.cmake
+++ b/cmake/scripts/darwin_embedded/ArchSetup.cmake
@@ -47,6 +47,10 @@ set(CMAKE_XCODE_ATTRIBUTE_INLINES_ARE_PRIVATE_EXTERN OFF)
set(CMAKE_XCODE_ATTRIBUTE_GCC_SYMBOLS_PRIVATE_EXTERN OFF)
set(CMAKE_XCODE_ATTRIBUTE_COPY_PHASE_STRIP OFF)
+if(NOT TARBALL_DIR)
+ set(TARBALL_DIR "/Users/Shared/xbmc-depends/xbmc-tarballs")
+endif()
+
include(cmake/scripts/darwin/Macros.cmake)
enable_arc()