We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b26ad commit dc197b6Copy full SHA for dc197b6
build-support/3rd-party/FindEigen3.cmake
@@ -58,9 +58,12 @@ macro(_eigen3_check_version)
58
endif()
59
60
if(NOT EIGEN3_VERSION_OK)
61
-
62
- message(STATUS "Eigen3 version ${EIGEN3_VERSION} found in ${EIGEN3_INCLUDE_DIR}, "
63
- "but at least version ${Eigen3_FIND_VERSION} is required")
+ if(${EIGEN3_VERSION} STREQUAL "..")
+ message(WARNING "The Eigen you have installed in ${EIGEN3_INCLUDE_DIR} is not Eigen3. Make sure you did not install Eigen5 by mistake.")
+ else()
64
+ message(STATUS "Eigen3 version ${EIGEN3_VERSION} found in ${EIGEN3_INCLUDE_DIR}, "
65
+ "but at least version ${Eigen3_FIND_VERSION} is required")
66
+ endif()
67
68
endmacro()
69
0 commit comments