From be2b788c6719dff953ce816a1246c49bd5cd30a5 Mon Sep 17 00:00:00 2001 From: Tom Kidd Date: Fri, 2 Aug 2024 22:17:52 -0500 Subject: [PATCH] Lower macOS requirement --- neo/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index 727da48a..8e143291 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -385,11 +385,11 @@ if(D3_COMPILER_IS_GCC_OR_CLANG) add_definitions(-DMACOS_X=1) if(cpu STREQUAL "x86_64") - add_compile_options(-arch x86_64 -mmacosx-version-min=10.9) - set(ldflags "${ldflags} -arch x86_64 -mmacosx-version-min=10.9") + add_compile_options(-arch x86_64 -mmacosx-version-min=10.7) + set(ldflags "${ldflags} -arch x86_64 -mmacosx-version-min=10.7") elseif(cpu STREQUAL "arm64") - add_compile_options(-arch arm64 -mmacosx-version-min=11.0) - set(ldflags "${ldflags} -arch arm64 -mmacosx-version-min=11.0") + add_compile_options(-arch arm64 -mmacosx-version-min=10.7) + set(ldflags "${ldflags} -arch arm64 -mmacosx-version-min=10.7") elseif(cpu STREQUAL "x86") CHECK_CXX_COMPILER_FLAG("-arch i386" cxx_has_arch_i386) if(cxx_has_arch_i386)