check for minimum Eigen3 version to build flatmesh module

This commit is contained in:
wmayer
2018-04-29 13:58:38 +02:00
parent 2fcc354461
commit 7ceb9721e3

View File

@@ -789,6 +789,12 @@ endif()
"=================\n")
ENDIF(NOT EIGEN3_FOUND)
if (${EIGEN3_VERSION} VERSION_LESS "3.3.1")
message(WARNING "Disable module flatmesh because it requires "
"minimum Eigen3 version 3.3.1 but version ${EIGEN3_VERSION} was found")
set (BUILD_FLAT_MESH OFF)
endif()
# -------------------------------- Qt --------------------------------
if (NOT BUILD_QT5)