summarylogtreecommitdiffstats
path: root/FixPluginsDir.patch
blob: b18d8afa63c28c35e7a74845d1294bb1eb1f4e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/Pdf4QtEditorPlugins/CMakeLists.txt b/Pdf4QtEditorPlugins/CMakeLists.txt
index 177f01c..c95de81 100644
--- a/Pdf4QtEditorPlugins/CMakeLists.txt
+++ b/Pdf4QtEditorPlugins/CMakeLists.txt
@@ -16,11 +16,13 @@
 #    along with PDF4QT.  If not, see <https://www.gnu.org/licenses/>.
 
 if(PDF4QT_LINUX)
-    set(PDF4QT_PLUGINS_DIR ${PDF4QT_INSTALL_LIB_DIR}/pdf4qt)
+    set(PDF4QT_PLUGINS_DIR /${PDF4QT_INSTALL_LIB_DIR}/pdf4qt)
 else()
     set(PDF4QT_PLUGINS_DIR ${PDF4QT_INSTALL_LIB_DIR}/pdfplugins)
 endif()
 
+message(PDF4QT_PLUGINS_DIR=${PDF4QT_PLUGINS_DIR})
+
 add_subdirectory(AudioBookPlugin)
 add_subdirectory(DimensionsPlugin)
 add_subdirectory(ObjectInspectorPlugin)