summaryrefslogtreecommitdiff
path: root/math/eigen3/files/patch-test_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/eigen3/files/patch-test_CMakeLists.txt')
-rw-r--r--math/eigen3/files/patch-test_CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/eigen3/files/patch-test_CMakeLists.txt b/math/eigen3/files/patch-test_CMakeLists.txt
new file mode 100644
index 000000000000..826374bc38f5
--- /dev/null
+++ b/math/eigen3/files/patch-test_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- test/CMakeLists.txt.orig 2020-10-05 11:24:15 UTC
++++ test/CMakeLists.txt
+@@ -163,7 +163,7 @@ ei_add_test(constructor)
+ ei_add_test(linearstructure)
+ ei_add_test(integer_types)
+ ei_add_test(unalignedcount)
+-if(NOT EIGEN_TEST_NO_EXCEPTIONS)
++if(NOT EIGEN_TEST_NO_EXCEPTIONS AND NOT EIGEN_TEST_OPENMP)
+ ei_add_test(exceptions)
+ endif()
+ ei_add_test(redux)