From 8a9a51ddab7c990539ecadaf7fe77e3b00e8783f Mon Sep 17 00:00:00 2001 From: Sheng Zha Date: Mon, 5 Apr 2021 15:14:47 -0400 Subject: [PATCH] set osx deploy target for v1.x wheels Signed-off-by: Sheng Zha --- config/distribution/darwin_cpu.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/config/distribution/darwin_cpu.cmake b/config/distribution/darwin_cpu.cmake index a0c803c059ce..4dd2f753ac0b 100644 --- a/config/distribution/darwin_cpu.cmake +++ b/config/distribution/darwin_cpu.cmake @@ -16,6 +16,7 @@ # under the License. set(CMAKE_BUILD_TYPE "Distribution" CACHE STRING "Build type") +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "Minimum supported version of OSX.") set(CFLAGS "-mno-avx" CACHE STRING "CFLAGS") set(CXXFLAGS "-mno-avx" CACHE STRING "CXXFLAGS")