mirror of https://github.com/microsoft/vcpkg.git
[mathgl] missing internal dep (#31013)
Co-authored-by: jimwang118 https://github.com/jimwang118
This commit is contained in:
parent
c74f7879a6
commit
1fcceb35f2
|
|
@ -0,0 +1,14 @@
|
|||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index d44125c..1ad17a1 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -53,6 +53,9 @@ generate_export_header(mgl EXPORT_FILE_NAME ../include/mgl2/dllexport.h)
|
||||
target_link_libraries(mgl ${MGL_DEP_LIBS})
|
||||
target_link_libraries(mgl-static ${MGL_DEP_LIBS})
|
||||
|
||||
+target_include_directories(mgl PUBLIC $<INSTALL_INTERFACE:include>)
|
||||
+target_include_directories(mgl-static PUBLIC $<INSTALL_INTERFACE:include>)
|
||||
+
|
||||
mgl_po_src(${mgl_src} ${mgl_hdr})
|
||||
|
||||
if(MGL_HAVE_MPI)
|
||||
|
|
@ -15,6 +15,7 @@ vcpkg_from_sourceforge(
|
|||
fix-format-specifiers.patch
|
||||
fix-glut.patch
|
||||
fix-mgllab.patch
|
||||
fix-include-property.patch
|
||||
)
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/addons/getopt")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "mathgl",
|
||||
"version": "8.0.1",
|
||||
"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",
|
||||
"license": "GPL-3.0-only",
|
||||
"supports": "!uwp",
|
||||
|
|
@ -98,7 +99,14 @@
|
|||
"png": {
|
||||
"description": "png module",
|
||||
"dependencies": [
|
||||
"libpng"
|
||||
"libpng",
|
||||
{
|
||||
"name": "mathgl",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"zlib"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"qt5": {
|
||||
|
|
|
|||
|
|
@ -5046,7 +5046,7 @@
|
|||
},
|
||||
"mathgl": {
|
||||
"baseline": "8.0.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"matio": {
|
||||
"baseline": "1.5.23",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "edd98363d2569c9ef358506313ce110045708f6a",
|
||||
"version": "8.0.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "8fd2208b95f6ebc6f17a30cc79c3b57b1a8bcfb7",
|
||||
"version": "8.0.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue