all repos — mgba @ 75422d022632d81254e7cd82e1eb863e8b1b0e1e

mGBA Game Boy Advance Emulator

All: Fix build on OS X when the 10.7 SDK is missing, due to CMake being overzealous
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Dec 2014 17:27:11 -0800
commit

75422d022632d81254e7cd82e1eb863e8b1b0e1e

parent

32fc4a99b963d172eb1fa5dfbe93e1521b0bc27f

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -114,8 +114,7 @@ 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++") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++") endif() if(BUILD_BBB OR BUILD_RASPI)