Skip to content

Commit

Permalink
[osgearth] Fix undefined references due to openjp2 and xml2 (#17993)
Browse files Browse the repository at this point in the history
* Fix osgearth

* Fix linking

* Update version files

Co-authored-by: Ankur Verma <ankurv@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
  • Loading branch information
3 people committed Jun 9, 2021
1 parent be56553 commit c21792b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/osgearth/fix-dependency-osg.patch
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ index b7dff11..d1ec2ff 100644
+ if (UNIX)
+ list(APPEND OSG_DEPENDS_LIBRARY ${OSG_DEPENDS_LIBRARY} -pthread)
+ # Due to Linux Linker dependency issues these need to included again
+ set(DEPEND_LIB_LIST fontconfig freetype uuid gdal json-c expat zstd proj sqlite3 webp gif cfitsio)
+ set(DEPEND_LIB_LIST fontconfig freetype uuid gdal json-c expat zstd proj sqlite3 webp gif cfitsio openjp2 xml2)
+ else(UNIX)
+ set(DEPEND_LIB_LIST cfitsio)
+ endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/osgearth/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "osgearth",
"version": "3.1",
"port-version": 3,
"port-version": 4,
"description": "osgEarth - Dynamic map generation toolkit for OpenSceneGraph Copyright 2015 Pelican Mapping.",
"homepage": "https://github.com/gwaldron/osgearth",
"supports": "!(x86 | wasm32)",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4662,7 +4662,7 @@
},
"osgearth": {
"baseline": "3.1",
"port-version": 3
"port-version": 4
},
"osi": {
"baseline": "0.108.6",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/osgearth.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d12ff3ef1419ab8813b430101fb6dbcc96861671",
"version": "3.1",
"port-version": 4
},
{
"git-tree": "d2483eb1bb083bdcf0b4de24f0f8c0d77825dc56",
"version": "3.1",
Expand Down

0 comments on commit c21792b

Please sign in to comment.