diff options
Diffstat (limited to 'vcpkg/ports/ftgl/02_enable-cpp11-std.patch')
| -rw-r--r-- | vcpkg/ports/ftgl/02_enable-cpp11-std.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/ftgl/02_enable-cpp11-std.patch b/vcpkg/ports/ftgl/02_enable-cpp11-std.patch new file mode 100644 index 0000000..5d91461 --- /dev/null +++ b/vcpkg/ports/ftgl/02_enable-cpp11-std.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 718ae88..e53e0da 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,9 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 2.8) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.21) + + PROJECT(FTGL) ++set(CMAKE_CXX_STANDARD 11) ++set(CMAKE_CXX_STANDARD_REQUIRED ON) ++ + SET(CMAKE_MODULE_PATH ${FTGL_SOURCE_DIR}) + + SET(VERSION_SERIES 2) |