mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-14 13:24:51 -05:00
Allow use of uppercase version of the _ROOT var
The convention is to use uppercase names, in particular our own ./configure script uses this, so we should at least allow it here (in addition to the old way for backward compatibility)
This commit is contained in:
committed by
Bård Skaflestad
parent
d00cff8549
commit
d11a8bc5ac
@@ -96,6 +96,10 @@ endif (NOT $ENV{SuiteSparse_ROOT} STREQUAL "")
|
|||||||
if (SuiteSparse_ROOT)
|
if (SuiteSparse_ROOT)
|
||||||
set (SuiteSparse_SEARCH_PATH "${SuiteSparse_ROOT}")
|
set (SuiteSparse_SEARCH_PATH "${SuiteSparse_ROOT}")
|
||||||
endif (SuiteSparse_ROOT)
|
endif (SuiteSparse_ROOT)
|
||||||
|
# most commonly, we use the uppercase version of this variable
|
||||||
|
if (SUITESPARSE_ROOT)
|
||||||
|
set (SuiteSparse_SEARCH_PATH "${SUITESPARSE_ROOT}")
|
||||||
|
endif (SUITESPARSE_ROOT)
|
||||||
|
|
||||||
# if we have specified a search path, then confine ourselves to that
|
# if we have specified a search path, then confine ourselves to that
|
||||||
if (SuiteSparse_SEARCH_PATH)
|
if (SuiteSparse_SEARCH_PATH)
|
||||||
|
|||||||
Reference in New Issue
Block a user