mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix OS X build in some unusual circumstances
This commit is contained in:
parent
378f5f7d43
commit
bdbfadd467
|
@ -115,7 +115,6 @@ endif()
|
|||
|
||||
if(APPLE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.6")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++")
|
||||
endif()
|
||||
|
||||
if(BUILD_BBB OR BUILD_RASPI)
|
||||
|
|
|
@ -3,6 +3,10 @@ enable_language(CXX)
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++")
|
||||
endif()
|
||||
|
||||
set(PLATFORM_SRC)
|
||||
|
||||
if(BUILD_SDL)
|
||||
|
|
Loading…
Reference in New Issue