summaryrefslogtreecommitdiff
path: root/sci-libs/onnx/files/onnx-1.14.0-cxx_14.patch
blob: 239e0bd3a56a5d9e54adcf970784e29299cae5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt	2023-09-01 12:19:40.772172388 +0200
+++ b/CMakeLists.txt	2023-09-01 12:19:53.422188861 +0200
@@ -58,7 +58,7 @@
 # Required to use /std:c++17 or higher on Windows
 # For other platforms, set C++11 as standard for the whole project
 if(NOT MSVC)
-  set(CMAKE_CXX_STANDARD 11)
+  set(CMAKE_CXX_STANDARD 14)
 else()
   string(APPEND CMAKE_CXX_FLAGS " /std:c++17")
 endif()