Skip to content

Commit 0dfc21d

Browse files
lwesiersgfxbot
authored andcommitted
Set C++14
Change-Id: I2f9df4553f81da8325cbb65ccdf56d35cc9a0434
1 parent b21aca8 commit 0dfc21d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

IGC/AdaptorOCL/cif/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ENDIF()
3131
SET(ThirdPartyDir "third_party")
3232

3333
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
34-
SET(CMAKE_CXX_STANDARD 11)
34+
SET(CMAKE_CXX_STANDARD 14)
3535
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
3636
IF(NOT MSVC)
3737
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth=1024")

IGC/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ set(IGC_API_MAJOR_VERSION 1)
5858
set(IGC_API_MINOR_VERSION 0)
5959
set(IGC_API_PATCH_VERSION 0)
6060

61+
set(CMAKE_CXX_STANDARD 14)
62+
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
63+
64+
6165
# ======================================================================================================
6266
# ================================================ UTILS ===============================================
6367
# ======================================================================================================
@@ -2900,7 +2904,7 @@ endif()
29002904
if(ANDROID AND _igc_compiler_is_clang)
29012905
set(_igc_cxx_standard "-std=gnu++14")
29022906
else()
2903-
set(_igc_cxx_standard "-std=c++11")
2907+
set(_igc_cxx_standard "-std=c++14")
29042908
endif()
29052909

29062910
if(_igc_compiler_is_gnu_or_clang)

visa/iga/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include (BuildFunctions.cmake)
1010
# set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
1111
# set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
1212

13-
set (CMAKE_CXX_STANDARD 11)
13+
set (CMAKE_CXX_STANDARD 14)
1414

1515
# do static build for IGA standalone build
1616
set(LINK_AS_STATIC_LIB TRUE)

visa/iga/IGALibrary/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
##############################################
33
# IGA dynamic and static library generation
44

5-
set (CMAKE_CXX_STANDARD 11)
5+
set (CMAKE_CXX_STANDARD 14)
66

77
# add GED libraries and includes
88
if (CMAKE_SIZEOF_VOID_P EQUAL 4)

0 commit comments

Comments
 (0)