Commit 6d124bc9 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

FindEigen3.cmake find always

parent 601adea5
......@@ -53,13 +53,13 @@ macro(_eigen3_check_version)
endif(NOT EIGEN3_VERSION_OK)
endmacro(_eigen3_check_version)
if (EIGEN3_INCLUDE_DIR)
# in cache already
_eigen3_check_version()
set(EIGEN3_FOUND ${EIGEN3_VERSION_OK})
else (EIGEN3_INCLUDE_DIR)
#if (EIGEN3_INCLUDE_DIR)
#
# # in cache already
# _eigen3_check_version()
# set(EIGEN3_FOUND ${EIGEN3_VERSION_OK})
#
#else (EIGEN3_INCLUDE_DIR)
# specific additional paths for some OS
if (WIN32)
......@@ -83,5 +83,5 @@ else (EIGEN3_INCLUDE_DIR)
mark_as_advanced(EIGEN3_INCLUDE_DIR)
endif(EIGEN3_INCLUDE_DIR)
#endif(EIGEN3_INCLUDE_DIR)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment