mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
Fix FindUmfpack when specifying manually the related cmake variables.
This commit is contained in:
parent
691fb92690
commit
959ef37006
@ -16,6 +16,8 @@ find_path(UMFPACK_INCLUDES
|
||||
ufsparse
|
||||
)
|
||||
|
||||
if(NOT UMFPACK_LIBRARIES)
|
||||
|
||||
find_library(UMFPACK_LIBRARIES umfpack PATHS $ENV{UMFPACKDIR} ${LIB_INSTALL_DIR})
|
||||
|
||||
if(UMFPACK_LIBRARIES)
|
||||
@ -43,6 +45,7 @@ if(UMFPACK_LIBRARIES)
|
||||
|
||||
endif(UMFPACK_LIBRARIES)
|
||||
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(UMFPACK DEFAULT_MSG
|
||||
|
Loading…
x
Reference in New Issue
Block a user