all repos — mgba @ 886c045a11e7ebaff01bb159e5c99a48d0200e80

mGBA Game Boy Advance Emulator

All: Support building C++11 on 10.7
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Dec 2014 08:19:03 -0800
commit

886c045a11e7ebaff01bb159e5c99a48d0200e80

parent

f6a7fedb2813d070a07cd6da65e8ddd666cd41d1

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -109,6 +109,11 @@ file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/posix/*.c)

source_group("POSIX-specific code" FILES ${OS_SRC}) endif() +if(APPLE) + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.7") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") +endif() + if(BUILD_BBB OR BUILD_RASPI) enable_language(ASM) if(NOT BUILD_EGL)