aboutsummaryrefslogtreecommitdiff
path: root/ports/mlpack/fix-dependencies.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/mlpack/fix-dependencies.patch')
-rw-r--r--ports/mlpack/fix-dependencies.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/mlpack/fix-dependencies.patch b/ports/mlpack/fix-dependencies.patch
new file mode 100644
index 000000000..2de2682ac
--- /dev/null
+++ b/ports/mlpack/fix-dependencies.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4dd92f0..bfa697d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -488,7 +488,7 @@ add_definitions(-DBOOST_TEST_DYN_LINK)
+ # }
+ # #endif
+ if (USE_OPENMP)
+- find_package(OpenMP)
++ find_package(OpenMP REQUIRED)
+ endif ()
+
+ if (OPENMP_FOUND)