summarylogtreecommitdiffstats
path: root/cuda11_gcc11.patch
blob: f8eafd3f5e4a008e061fe11a12119adc257ebb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3c60c055..bd76a7f7 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -43,7 +43,7 @@ elseif(IS_GNU OR IS_CLANG)
        IS_GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6)
         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
     else()
-        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
+        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
     endif()
 endif()