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)