File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ ENDIF()
31
31
SET (ThirdPartyDir "third_party" )
32
32
33
33
SET_PROPERTY (GLOBAL PROPERTY USE_FOLDERS ON )
34
- SET (CMAKE_CXX_STANDARD 11 )
34
+ SET (CMAKE_CXX_STANDARD 14 )
35
35
SET (CMAKE_CXX_STANDARD_REQUIRED ON )
36
36
IF (NOT MSVC )
37
37
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth=1024" )
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ set(IGC_API_MAJOR_VERSION 1)
58
58
set (IGC_API_MINOR_VERSION 0)
59
59
set (IGC_API_PATCH_VERSION 0)
60
60
61
+ set (CMAKE_CXX_STANDARD 14)
62
+ set (CMAKE_CXX_STANDARD_REQUIRED TRUE )
63
+
64
+
61
65
# ======================================================================================================
62
66
# ================================================ UTILS ===============================================
63
67
# ======================================================================================================
@@ -2900,7 +2904,7 @@ endif()
2900
2904
if (ANDROID AND _igc_compiler_is_clang)
2901
2905
set (_igc_cxx_standard "-std=gnu++14" )
2902
2906
else ()
2903
- set (_igc_cxx_standard "-std=c++11 " )
2907
+ set (_igc_cxx_standard "-std=c++14 " )
2904
2908
endif ()
2905
2909
2906
2910
if (_igc_compiler_is_gnu_or_clang)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ include (BuildFunctions.cmake)
10
10
# set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
11
11
# set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
12
12
13
- set (CMAKE_CXX_STANDARD 11 )
13
+ set (CMAKE_CXX_STANDARD 14 )
14
14
15
15
# do static build for IGA standalone build
16
16
set (LINK_AS_STATIC_LIB TRUE )
Original file line number Diff line number Diff line change 2
2
##############################################
3
3
# IGA dynamic and static library generation
4
4
5
- set (CMAKE_CXX_STANDARD 11 )
5
+ set (CMAKE_CXX_STANDARD 14 )
6
6
7
7
# add GED libraries and includes
8
8
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
You can’t perform that action at this time.
0 commit comments