Qt: Fix OS X build in some unusual circumstances

This commit is contained in:
Jeffrey Pfau 2014-12-29 02:34:16 -08:00
parent 378f5f7d43
commit bdbfadd467
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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)