aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
Diffstat (limited to 'blas')
-rw-r--r--blas/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt
index 8c6792ad1..c8d5c241f 100644
--- a/blas/CMakeLists.txt
+++ b/blas/CMakeLists.txt
@@ -38,5 +38,10 @@ install(TARGETS eigen_blas
ARCHIVE DESTINATION lib)
+if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
+ add_subdirectory(testing) # can't do EXCLUDE_FROM_ALL here, breaks CTest
+else()
add_subdirectory(testing)
+endif()
+
endif(CMAKE_Fortran_COMPILER_WORKS)