Allow mixed case name in variable (as for package)
Since the package is named Eigen3 (in mixed case), we should allow for the variable to be named this way, too.
This commit is contained in:
parent
b848d37d2f
commit
b8ba56de28
@ -61,6 +61,11 @@ if (EIGEN3_INCLUDE_DIR)
|
||||
|
||||
else (EIGEN3_INCLUDE_DIR)
|
||||
|
||||
# allow Eigen3_ROOT to be used in addition to EIGEN3_ROOT
|
||||
if (Eigen3_ROOT)
|
||||
set (EIGEN3_ROOT "${Eigen3_ROOT}")
|
||||
endif (Eigen3_ROOT)
|
||||
|
||||
# if the _ROOT is specified, then look *only* there; don't allow any
|
||||
# other version to be swapped in to substitute; if not specified, then
|
||||
# go search usual locations
|
||||
|
Loading…
Reference in New Issue
Block a user