vcpkg/ports/itk/cxx17.patch

13 lines
529 B
Diff
Raw Normal View History

2023-10-10 06:08:15 +08:00
diff --git a/CMake/ITKInitializeCXXStandard.cmake b/CMake/ITKInitializeCXXStandard.cmake
index 5345230b..a9ca48c3 100644
--- a/CMake/ITKInitializeCXXStandard.cmake
+++ b/CMake/ITKInitializeCXXStandard.cmake
@@ -1,6 +1,6 @@
## Set the default target properties for ITK
if(NOT CMAKE_CXX_STANDARD)
- set(CMAKE_CXX_STANDARD 14) # Supported values are 14, 17, 20, and 23.
+ set(CMAKE_CXX_STANDARD 17) # Supported values are 14, 17, 20, and 23.
endif()
if(NOT CMAKE_CXX_STANDARD_REQUIRED)
set(CMAKE_CXX_STANDARD_REQUIRED ON)