mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Fix macOS 10.8~10.15 run compatibility
This commit is contained in:
1 parent
bb64c176fc
commit
c4f330664b
1 file changed
+1
@@ -355,6 +355,7 @@ if(NOT MSVC)
|
||||
if(IOS)
|
||||
elseif(APPLE AND NOT CMAKE_CROSSCOMPILING)
|
||||
set(MACOSX_VERSION_MIN "10.8")
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "${MACOSX_VERSION_MIN}")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN} -stdlib=libc++ -U__STRICT_ANSI__")
|
||||
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
|
||||
|
||||
Reference in new issue
Block a user