all repos — mgba @ f97b9632ebd1224204ab0e33dee66394528c18da

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

f97b9632ebd1224204ab0e33dee66394528c18da

parent

63a439406c985bc43bc4e3ce1044371e0dfc1291

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)