Extend superlu cmake script to check version

This commit is contained in:
Gael Guennebaud
2015-11-30 14:48:11 +01:00
parent afa11d646d
commit 6fcd316f23
3 changed files with 50 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ else()
ei_add_property(EIGEN_MISSING_BACKENDS "UmfPack, ")
endif()
find_package(SuperLU)
find_package(SuperLU 4.0)
if(SUPERLU_FOUND)
add_definitions("-DEIGEN_SUPERLU_SUPPORT")
include_directories(${SUPERLU_INCLUDES})