From 90fc44fbf47db17f8843fddf4f07c97e722d7f39 Mon Sep 17 00:00:00 2001 From: XanthosXanthopoulos Date: Thu, 21 Nov 2024 15:59:24 +0200 Subject: [PATCH] Update minimum macos version to 13.3 --- apis/python/setup.py | 2 +- apis/r/src/Makevars.in | 2 +- libtiledbsoma/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apis/python/setup.py b/apis/python/setup.py index 236cee8384..0e0bf37769 100644 --- a/apis/python/setup.py +++ b/apis/python/setup.py @@ -253,7 +253,7 @@ def run(self): CXX_FLAGS.append(f'-Wl,-rpath,{str(tiledb_dir / "lib")}') if sys.platform == "darwin": - CXX_FLAGS.append("-mmacosx-version-min=11.0") + CXX_FLAGS.append("-mmacosx-version-min=13.3") if os.name == "posix" and sys.platform != "darwin": LIB_DIRS.append(str(tiledbsoma_dir / "lib" / "x86_64-linux-gnu")) diff --git a/apis/r/src/Makevars.in b/apis/r/src/Makevars.in index 991205747d..9e536b629e 100644 --- a/apis/r/src/Makevars.in +++ b/apis/r/src/Makevars.in @@ -1,6 +1,6 @@ CXX_STD = CXX20 -## We need the TileDB Headers, and for macOS aka Darwin need to set minimum version 10.14 for macOS +## We need the TileDB Headers, and for macOS aka Darwin need to set minimum version 13.3 for macOS PKG_CPPFLAGS = -I. -I../inst/include/ @tiledb_include@ @cxx20_macos@ -D SPDLOG_USE_STD_FORMAT ## We also need the TileDB library diff --git a/libtiledbsoma/CMakeLists.txt b/libtiledbsoma/CMakeLists.txt index 915449f756..c8a181c4fe 100644 --- a/libtiledbsoma/CMakeLists.txt +++ b/libtiledbsoma/CMakeLists.txt @@ -112,6 +112,7 @@ endif() # Use @rpath on macOS for building shared libraries. if(APPLE) set(CMAKE_MACOSX_RPATH ON) + set(CMAKE_OSX_DEPLOYMENT_TARGET 13.3) # Don't allow macOS .frameworks to be used for dependencies. set(CMAKE_FIND_FRAMEWORK NEVER)