citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #1640 from lioncash/cpp14

CMakeFiles: Compile as C++14
This commit is contained in:
Yuri Kunde Schlesner 2016-04-03 13:56:50 -07:00
commit e3905cdfd8
4 changed files with 7 additions and 7 deletions

View File

@ -11,8 +11,8 @@ fi
#if OS is linux or is not set
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
export CC=gcc-4.9
export CXX=g++-4.9
export CC=gcc-5
export CXX=g++-5
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
mkdir build && cd build

View File

@ -5,8 +5,8 @@ set -x
#if OS is linux or is not set
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
export CC=gcc-4.9
export CXX=g++-4.9
export CC=gcc-5
export CXX=g++-5
mkdir -p $HOME/.local
curl -L http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \

View File

@ -15,8 +15,8 @@ addons:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gcc-5
- g++-5
- xorg-dev
- lib32stdc++6 # For CMake
- lftp # To upload builds

View File

@ -65,7 +65,7 @@ endif()
message(STATUS "Target architecture: ${ARCHITECTURE}")
if (NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes -pthread")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
if (ARCHITECTURE_x86_64)