mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-30 08:01:02 +00:00
Lower macOS requirement
This commit is contained in:
parent
6679490f0a
commit
be2b788c67
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue