From c4b54e43e7a5d1f0d65083c1c4e4be0bb4955da4 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Mon, 15 Jun 2020 16:16:28 +0200 Subject: [PATCH] another appimage try --- src/meshlab/meshlab.pro | 2 ++ src/meshlabplugins/io_u3d/io_u3d.pro | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/meshlab/meshlab.pro b/src/meshlab/meshlab.pro index 6ef89f84a..9d7503ef6 100644 --- a/src/meshlab/meshlab.pro +++ b/src/meshlab/meshlab.pro @@ -134,6 +134,8 @@ linux:LIBS += \ -lmeshlab-common -lGLU \ -L$$MESHLAB_DISTRIB_DIRECTORY/lib/linux -ljhead +linux:QMAKE_CXXFLAGS += -rpath=$$ORIGIN/../lib + !CONFIG(system_glew) { INCLUDEPATH *= $$GLEWDIR/include } diff --git a/src/meshlabplugins/io_u3d/io_u3d.pro b/src/meshlabplugins/io_u3d/io_u3d.pro index d5b1ac883..cbec4dd85 100644 --- a/src/meshlabplugins/io_u3d/io_u3d.pro +++ b/src/meshlabplugins/io_u3d/io_u3d.pro @@ -26,6 +26,8 @@ macx:LIBS +=-L$$MESHLAB_DISTRIB_DIRECTORY/lib/macx64/ -lIDTFConverter -lIFXCoreS linux:LIBS += -lIDTFConverter -lIFXCoreStatic -ldl +linux:QMAKE_CXXFLAGS += -rpath=$$ORIGIN/../lib:$$ORIGIN/.. + TARGET = io_u3d CONFIG += STL