mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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
b446ac99e2
commit
05e516bb4a
@ -61,6 +61,11 @@ if (EIGEN3_INCLUDE_DIR)
|
|||||||
|
|
||||||
else (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
|
# 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
|
# other version to be swapped in to substitute; if not specified, then
|
||||||
# go search usual locations
|
# go search usual locations
|
||||||
|
Loading…
Reference in New Issue
Block a user