From 1223698ec5a4dfba3ad4539274d91c71a05f3c3b Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 30 Sep 2021 19:18:34 +0200
Subject: [PATCH] Put CONDA_BUILD_SYSROOT back for mac

---
 bob/devtools/data/conda_build_config.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bob/devtools/data/conda_build_config.yaml b/bob/devtools/data/conda_build_config.yaml
index 687b5617..62550979 100644
--- a/bob/devtools/data/conda_build_config.yaml
+++ b/bob/devtools/data/conda_build_config.yaml
@@ -87,6 +87,12 @@ rust_compiler:
 rust_compiler_version:
   - 1.40.0
 
+CONDA_BUILD_SYSROOT:            # [osx]
+  - /opt/MacOSX10.10.sdk        # [osx]
+# This helps CMAKE find the sysroot. See
+# https://cmake.org/cmake/help/v3.11/variable/CMAKE_OSX_SYSROOT.html
+SDKROOT:                        # [osx]
+  - /opt/MacOSX10.10.sdk        # [osx]
 macos_machine:                 # [osx]
   - x86_64-apple-darwin13.4.0  # [osx and x86_64]
   - arm64-apple-darwin20.0.0   # [osx and arm64]
-- 
GitLab