summaryrefslogtreecommitdiff
path: root/math/eigen3/files/patch-test_CMakeLists.txt
blob: 826374bc38f59d87c6e7cf9ad4176f5fbb5dab54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)