summarylogtreecommitdiffstats
path: root/cmake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.patch')
-rw-r--r--cmake.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake.patch b/cmake.patch
new file mode 100644
index 000000000000..fb5fbe66a5fb
--- /dev/null
+++ b/cmake.patch
@@ -0,0 +1,13 @@
+diff -Naur mmg-5.5.2/cmake/config/mmgConfig.cmake.in mmg-5.5.2.ne/cmake/config/mmgConfig.cmake.in
+--- mmg-5.5.2/cmake/config/mmgConfig.cmake.in 2020-11-17 12:03:18.000000000 +0100
++++ mmg-5.5.2.ne/cmake/config/mmgConfig.cmake.in 2021-10-22 11:53:52.304256426 +0200
+@@ -2,6 +2,9 @@
+
+ include(CMakeFindDependencyMacro)
+
++# Allows us to use all .cmake files in this directory
++list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}")
++
+ find_package(SCOTCH)
+ find_package(VTK)
+