vcpkg/ports/ftgl/02_enable-cpp11-std.patch
sma-github 28b70b41c4 [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
2020-01-27 14:11:39 -08:00

15 lines
322 B
Diff

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)