mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build with some non-Apple versions of GCC
This commit is contained in:
parent
065474d14e
commit
5da7198d07
|
@ -4,7 +4,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++")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7")
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(PLATFORM_SRC)
|
||||
|
|
Loading…
Reference in New Issue