mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:39:01 +08:00
[mathgl] no absolute paths (#26320)
This commit is contained in:
parent
581099d541
commit
9a0bbbcb42
@ -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)
|
||||
|
@ -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",
|
||||
|
@ -4506,7 +4506,7 @@
|
||||
},
|
||||
"mathgl": {
|
||||
"baseline": "2.5",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"matio": {
|
||||
"baseline": "1.5.23",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e86f7ba9325f53bd43f5713e38d78fba18e7bc1d",
|
||||
"version": "2.5",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "2601a536d9214365148c954f41a6597939a89d7d",
|
||||
"version": "2.5",
|
||||
|
Loading…
Reference in New Issue
Block a user