Lines 1-27
Link Here
|
1 |
--- CMakeLists.txt.orig 2016-05-15 23:38:54 UTC |
|
|
2 |
+++ CMakeLists.txt |
3 |
@@ -224,20 +224,20 @@ if(APPLE) |
4 |
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") |
5 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O2 -g -frounding-math -Wno-deprecated") |
6 |
else() |
7 |
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O2 -std=c++0x -g -Wno-deprecated") |
8 |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O2 -std=c++11 -g -Wno-deprecated") |
9 |
endif() |
10 |
|
11 |
elseif(UNIX) # UNIX system variable include UNIX like system(i.e. APPLE and CYGWIN) |
12 |
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -fPIC -O2 -g -Wall -Wconversion -pedantic -fmax-errors=10 -Wmissing-prototypes -frounding-math") |
13 |
- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -fPIC -O2 -g -Wall -Wconversion -pedantic -fmax-errors=10 -Wextra -frounding-math -Wno-deprecated") |
14 |
+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC -O2 -g -Wall -Wconversion -pedantic -fmax-errors=10 -Wextra -frounding-math -Wno-deprecated") |
15 |
|
16 |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -O2 -g -frounding-math") |
17 |
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O2 -g -std=c++0x -frounding-math -Wno-deprecated") |
18 |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O2 -g -std=c++11 -frounding-math -Wno-deprecated") |
19 |
|
20 |
elseif(WIN32) |
21 |
# currently, support MinGW only |
22 |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -frounding-math") |
23 |
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -std=c++0x -frounding-math -Wno-deprecated") |
24 |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -std=c++11 -frounding-math -Wno-deprecated") |
25 |
endif() |
26 |
|
27 |
# List variable to collect module SQL file names |