summaryrefslogtreecommitdiffhomepage
path: root/eigen/blas
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/blas')
-rw-r--r--eigen/blas/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/eigen/blas/CMakeLists.txt b/eigen/blas/CMakeLists.txt
index 9887d58..d0efb41 100644
--- a/eigen/blas/CMakeLists.txt
+++ b/eigen/blas/CMakeLists.txt
@@ -45,12 +45,10 @@ install(TARGETS eigen_blas eigen_blas_static
if(EIGEN_Fortran_COMPILER_WORKS)
-if(BUILD_TESTING)
- if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
- add_subdirectory(testing) # can't do EXCLUDE_FROM_ALL here, breaks CTest
- else()
- add_subdirectory(testing EXCLUDE_FROM_ALL)
- endif()
+if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
+ add_subdirectory(testing) # can't do EXCLUDE_FROM_ALL here, breaks CTest
+else()
+ add_subdirectory(testing EXCLUDE_FROM_ALL)
endif()
endif()