[ftgl] fix build cmake 4 (#44754)

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2025-04-03 00:39:29 -07:00 committed by GitHub
parent 68362f1556
commit d9f0fa32ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 5 deletions

View File

@ -3,12 +3,13 @@ index 718ae88..e53e0da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-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)

View File

@ -1,7 +1,7 @@
{
"name": "ftgl",
"version": "2.4.0",
"port-version": 5,
"port-version": 6,
"description": [
"FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications.",
"Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format.",

View File

@ -2982,7 +2982,7 @@
},
"ftgl": {
"baseline": "2.4.0",
"port-version": 5
"port-version": 6
},
"ftxui": {
"baseline": "6.0.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "890825a544038137cc715f1c7ec7f5afe828803a",
"version": "2.4.0",
"port-version": 6
},
{
"git-tree": "6b9fee52a7db38c8ceab55d156abf5d6a90ff656",
"version": "2.4.0",