summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-03-15 01:22:10 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-03-15 01:22:10 +0000
commitfc39db840664eec97fb5056b410d8dd8e1cc267c (patch)
tree27b655d9f5b8560cfde54a431a88e9438ea48ca8
parentmath/gsl: fix build on powerpc64 elfv2 (diff)
math/dune-localfunctions: Fix build with DOCS=OFF
-rw-r--r--math/dune-localfunctions/files/patch-CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/dune-localfunctions/files/patch-CMakeLists.txt b/math/dune-localfunctions/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..d2f693a416ac
--- /dev/null
+++ b/math/dune-localfunctions/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2020-03-15 01:20:08 UTC
++++ CMakeLists.txt
+@@ -22,7 +22,9 @@ include(DuneMacros)
+ # start a dune project with information from dune.module
+ dune_project()
+
++if (FREEBSD_INSTALL_DOCS)
+ add_subdirectory(doc)
++endif()
+ add_subdirectory(dune)
+
+ finalize_dune_project(GENERATE_CONFIG_H_CMAKE)