all repos — mgba @ 4fa94019712a9eb6177f65962ea032ed784ed019

mGBA Game Boy Advance Emulator

Qt: Fix OS X build in some unusual circumstances
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Dec 2014 02:34:16 -0800
commit

4fa94019712a9eb6177f65962ea032ed784ed019

parent

93b7779cb22a8ec64cf3ef8c4874ac9ac7ccbe7b

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -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)
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

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