Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/osg/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: osg
Version: 3.6.3-1
Version: 3.6.3-2
Description: The OpenSceneGraph is an open source high performance 3D graphics toolkit.
Build-Depends: freetype, jasper, openexr, zlib, gdal, giflib, libjpeg-turbo, libpng, tiff

Expand Down
14 changes: 14 additions & 0 deletions ports/osg/fix-link-error-caused-by-static-tiff.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/src/osgPlugins/tiff/CMakeLists.txt b/src/osgPlugins/tiff/CMakeLists.txt
index fc945d6..d7b7027 100644
--- a/src/osgPlugins/tiff/CMakeLists.txt
+++ b/src/osgPlugins/tiff/CMakeLists.txt
@@ -2,7 +2,8 @@ INCLUDE_DIRECTORIES( ${TIFF_INCLUDE_DIR} )

SET(TARGET_SRC ReaderWriterTIFF.cpp )

-SET(TARGET_LIBRARIES_VARS TIFF_LIBRARY)
+# using TIFF_LIBRARIES instead of TIFF_LIBRARY to link dependency libs
+SET(TARGET_LIBRARIES_VARS TIFF_LIBRARIES)

#### end var setup ###
SETUP_PLUGIN(tiff)
1 change: 1 addition & 0 deletions ports/osg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
collada.patch
fix-link-error-caused-by-static-tiff.patch
)

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
Expand Down