aboutsummaryrefslogtreecommitdiff
path: root/ports/ftgl/02_enable-cpp11-std.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ftgl/02_enable-cpp11-std.patch')
-rw-r--r--ports/ftgl/02_enable-cpp11-std.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/ftgl/02_enable-cpp11-std.patch b/ports/ftgl/02_enable-cpp11-std.patch
new file mode 100644
index 000000000..37ae283af
--- /dev/null
+++ b/ports/ftgl/02_enable-cpp11-std.patch
@@ -0,0 +1,14 @@
+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)