do not try to use Eigen's blas/lapack if they cannot be compiled

This commit is contained in:
Gael Guennebaud
2011-02-23 09:25:32 +01:00
parent c78b5fd9aa
commit 14b164b00e
2 changed files with 26 additions and 16 deletions

View File

@@ -314,10 +314,6 @@ else()
add_subdirectory(test EXCLUDE_FROM_ALL)
endif()
add_subdirectory(unsupported)
add_subdirectory(demos EXCLUDE_FROM_ALL)
if(NOT MSVC)
if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
add_subdirectory(blas)
@@ -328,6 +324,10 @@ if(NOT MSVC)
endif()
endif(NOT MSVC)
add_subdirectory(unsupported)
add_subdirectory(demos EXCLUDE_FROM_ALL)
# must be after test and unsupported, for configuring buildtests.in
add_subdirectory(scripts EXCLUDE_FROM_ALL)