mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:35:35 +08:00
[mathgl] no absolute paths (#22363)
This commit is contained in:
parent
72138fe854
commit
ba4aea932f
@ -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)
|
||||
|
@ -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": [
|
||||
{
|
||||
|
@ -4506,7 +4506,7 @@
|
||||
},
|
||||
"mathgl": {
|
||||
"baseline": "2.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"matio": {
|
||||
"baseline": "1.5.23",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2601a536d9214365148c954f41a6597939a89d7d",
|
||||
"version": "2.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "d75f46bbb8d518f326f688d355d5e9d241f44dc6",
|
||||
"version": "2.5",
|
||||
|
Loading…
Reference in New Issue
Block a user