diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 64655853d..2361e26cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -293,11 +293,13 @@ add_subdirectory(unsupported) add_subdirectory(demos EXCLUDE_FROM_ALL) if(NOT MSVC) -if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) - add_subdirectory(blas) -else() - add_subdirectory(blas EXCLUDE_FROM_ALL) -endif() + if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) + add_subdirectory(blas) + add_subdirectory(lapack) + else() + add_subdirectory(blas EXCLUDE_FROM_ALL) + add_subdirectory(lapack EXCLUDE_FROM_ALL) + endif() endif(NOT MSVC) # must be after test and unsupported, for configuring buildtests.in |