aboutsummaryrefslogtreecommitdiff
path: root/ports/ftgl/02_enable-cpp11-std.patch
diff options
context:
space:
mode:
authorsma-github <55330739+sma-github@users.noreply.github.com>2020-01-27 23:11:39 +0100
committerVictor Romero <romerosanchezv@gmail.com>2020-01-27 14:11:39 -0800
commit28b70b41c482c679cbcea8c9ea6d8d598cb3c648 (patch)
treed07708e7eae4981605eb6ff11a5bfaedf62e1198 /ports/ftgl/02_enable-cpp11-std.patch
parent354733dbf8aa53571c7f7b451565742f42156339 (diff)
downloadvcpkg-28b70b41c482c679cbcea8c9ea6d8d598cb3c648.tar.gz
vcpkg-28b70b41c482c679cbcea8c9ea6d8d598cb3c648.zip
[ftgl] Fix build failure #9520 (#9521)
* bugfix for [ftgl] build failure #9520. Applied same solution as cbezault did for #7697 * bugfix for [ftgl] build failure #9520. Added suggested changes from the review and clean-up EOL characters. * [ftgl] remove ftgl:x64-linux=fail from ci.baseline.txt * [ftgl] build failure #9520 - disable doxygen on Linux * [ftgl] build failure #9520 - force the compiler to use the C++11 standard * [ftgl] build failure #9520 - remove ftgl:x64-osx=fail * [ftgl] build failure #9520 - add missing C++11 standard patch
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)