aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freecad/resourceDirectory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/freecad/resourceDirectory.patch')
-rw-r--r--testing/freecad/resourceDirectory.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/freecad/resourceDirectory.patch b/testing/freecad/resourceDirectory.patch
new file mode 100644
index 00000000000..a2a16d1fe51
--- /dev/null
+++ b/testing/freecad/resourceDirectory.patch
@@ -0,0 +1,11 @@
+--- ./cMake/FreeCAD_Helpers/ConfigureCMakeVariables.cmake.orig
++++ ./cMake/FreeCAD_Helpers/ConfigureCMakeVariables.cmake
+@@ -23,7 +23,7 @@
+ "Path to the directory containing PyCXX's cxxextensions.c source file")
+
+ # used as compiler defines
+- set(RESOURCEDIR "${CMAKE_INSTALL_DATADIR}")
++ set(RESOURCEDIR "../../share/freecad")
+ set(LIBRARYDIR "${CMAKE_INSTALL_LIBDIR}")
+ set(DOCDIR "${CMAKE_INSTALL_DOCDIR}")
+