[mathgl] no absolute paths (#22363)

This commit is contained in:
autoantwort 2022-08-10 22:23:49 +02:00 committed by GitHub
parent 72138fe854
commit ba4aea932f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -80,6 +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 \"${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,6 +1,7 @@
{
"name": "mathgl",
"version": "2.5",
"port-version": 1,
"description": "MathGL is a free library of fast C++ routines for the plotting of the data varied in one or more dimensions",
"dependencies": [
{

View File

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

View File

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