pineapple/externals/vcpkg/ports/ftgl/02_enable-cpp11-std.patch
2022-07-23 03:01:36 +02:00

14 lines
322 B
Diff
Executable file

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)
PROJECT(FTGL)
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
SET(CMAKE_MODULE_PATH ${FTGL_SOURCE_DIR})
SET(VERSION_SERIES 2)