Utilities/Release: Compile OS X binary as C++11

We already compile with `-stdlib=libc++` as required for Qt 5.6.
We can compile as C++11 and still deploy to OS X 10.7.
This commit is contained in:
Brad King 2016-07-01 11:16:38 -04:00
parent 4c476cc9b2
commit e1e54295e8
1 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,8 @@ set(CFLAGS "")
set(CXXFLAGS "-stdlib=libc++") set(CXXFLAGS "-stdlib=libc++")
set(INITIAL_CACHE " set(INITIAL_CACHE "
CMAKE_BUILD_TYPE:STRING=Release CMAKE_BUILD_TYPE:STRING=Release
CMAKE_C_STANDARD:STRING=11
CMAKE_CXX_STANDARD:STRING=11
CMAKE_OSX_ARCHITECTURES:STRING=x86_64 CMAKE_OSX_ARCHITECTURES:STRING=x86_64
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7 CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
@ -21,8 +23,6 @@ BUILD_QtDialog:BOOL=TRUE
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:STRING=3 CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:STRING=3
CMake_INSTALL_DEPENDENCIES:BOOL=ON CMake_INSTALL_DEPENDENCIES:BOOL=ON
CMAKE_SKIP_RPATH:BOOL=TRUE CMAKE_SKIP_RPATH:BOOL=TRUE
CMake_NO_C_STANDARD:BOOL=TRUE
CMake_NO_CXX_STANDARD:BOOL=TRUE
CMake_TEST_NO_FindPackageModeMakefileTest:BOOL=TRUE CMake_TEST_NO_FindPackageModeMakefileTest:BOOL=TRUE
") ")
set(ENV [[ set(ENV [[