From 1694c126ecbec92d8a4157f7a523c090aefe9e55 Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Fri, 8 Nov 2024 13:40:04 +0800 Subject: [PATCH] fix tiff --- packages/o/openscenegraph/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/o/openscenegraph/xmake.lua b/packages/o/openscenegraph/xmake.lua index 3240be0a4e4..87ad3c090b1 100644 --- a/packages/o/openscenegraph/xmake.lua +++ b/packages/o/openscenegraph/xmake.lua @@ -42,7 +42,7 @@ package("openscenegraph") end) on_install("windows", "linux", "macosx", function (package) - io.replace("src/osgPlugins/tiff/CMakeLists.txt", "TIFF_LIBRARY", "TIFF::TIFF", {plain = true}) + io.replace("src/osgPlugins/tiff/CMakeLists.txt", "TIFF_LIBRARY", "TIFF_LIBRARIES", {plain = true}) local configs = {"-DBUILD_OSG_EXAMPLES=OFF", "-DOSG_MSVC_VERSIONED_DLL=OFF"} local disabled_packages = {"ilmbase", "Inventor", "OpenCascade", "FBX", "GDAL", "GTA", "CURL", "LibVNCServer", "GStreamer", "SDL", "Poppler", "RSVG", "GtkGl", "Asio", "ZeroConf", "LIBLAS"} for _, pkg in ipairs(disabled_packages) do