[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() 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_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\"" "") 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) file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/mathgl" RENAME copyright)

View File

@ -1,8 +1,9 @@
{ {
"name": "mathgl", "name": "mathgl",
"version": "2.5", "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", "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": [ "dependencies": [
{ {
"name": "vcpkg-cmake", "name": "vcpkg-cmake",

View File

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

View File

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