[mathgl] no absolute paths (#26320)

This commit is contained in:
autoantwort 2022-08-12 22:55:29 +02:00 committed by GitHub
parent 581099d541
commit 9a0bbbcb42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -80,7 +80,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
endif()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_INSTALL_DIR \"${CURRENT_PACKAGES_DIR}\"" "")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH \"${CURRENT_PACKAGES_DIR}/fonts\"" "") # there is no fonts folder
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/fonts\"" "") # there is no fonts folder
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/share/mathgl/fonts\"" "")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/mathgl" RENAME copyright)

View File

@ -1,8 +1,9 @@
{
"name": "mathgl",
"version": "2.5",
"port-version": 1,
"port-version": 2,
"description": "MathGL is a free library of fast C++ routines for the plotting of the data varied in one or more dimensions",
"license": "GPL-3.0-only",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -4506,7 +4506,7 @@
},
"mathgl": {
"baseline": "2.5",
"port-version": 1
"port-version": 2
},
"matio": {
"baseline": "1.5.23",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e86f7ba9325f53bd43f5713e38d78fba18e7bc1d",
"version": "2.5",
"port-version": 2
},
{
"git-tree": "2601a536d9214365148c954f41a6597939a89d7d",
"version": "2.5",