[ftgl] Fix cmake config fixup (#48321)

This commit is contained in:
Kai Pastor 2025-11-17 20:24:35 +01:00 committed by GitHub
parent 69ba642eff
commit 9cdc3a8dfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 14 additions and 8 deletions

View File

@ -21,10 +21,10 @@ index 0000000..d242667
--- /dev/null
+++ b/ftgl.pc.cmake
@@ -0,0 +1,6 @@
+Name: ftgl
+Description: OpenGL frontend to Freetype 2
+Requires.private: freetype2
+Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@
+Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lftgl
+Name: ftgl
+Description: OpenGL frontend to Freetype 2
+Requires.private: freetype2
+Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@
+Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lftgl
+Cflags: -I@CMAKE_INSTALL_PREFIX@/include
\ No newline at end of file

View File

@ -23,7 +23,7 @@ vcpkg_cmake_install()
if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
else ()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/FTGL)
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")

View File

@ -1,7 +1,7 @@
{
"name": "ftgl",
"version": "2.4.0",
"port-version": 6,
"port-version": 7,
"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

@ -95,6 +95,7 @@ forge:x86-windows=fail
freeglut(android)=fail
freeglut(osx)=fail # Needs XQuartz
freeopcua:arm64-windows=fail # Needs /bigobj
ftgl(android)=fail
functions-framework-cpp:x64-uwp=fail # https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/207
g3log:arm-neon-android=fail
g3log:arm64-android=fail

View File

@ -3130,7 +3130,7 @@
},
"ftgl": {
"baseline": "2.4.0",
"port-version": 6
"port-version": 7
},
"ftxui": {
"baseline": "6.1.9",

View File

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