Skip to content

Commit

Permalink
SuiteSparse, HDF5
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny committed Dec 25, 2024
1 parent d738868 commit 12230a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ add_library(mephit SHARED
)
add_dependencies(mephit LIBNEO MFEM TRIANGLE)
target_include_directories(mephit PUBLIC
${HDF5_INCLUDE_DIRS}
${magfie_include_dir}
${NETCDF_INCLUDES}
${MFEM_INCLUDE_DIRS}
Expand All @@ -168,10 +167,9 @@ target_include_directories(mephit PUBLIC
)
set(MEPHIT_LIBS
${HDF5_tools_lib}
${HDF5_Fortran_HL_LIBRARIES}
${HDF5_HL_LIBRARIES}
${HDF5_Fortran_LIBRARIES}
${HDF5_LIBRARIES}
hdf5::hdf5
hdf5::hdf5_fortran
hdf5::hdf5_hl_fortran
GSL::gsl
${MFEM_LIBRARIES}
BLAS::BLAS
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindSuiteSparse.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ ELSE (EXISTS ${KLU_LIBRARY})
SET(KLU_FOUND FALSE)
ENDIF (EXISTS ${KLU_LIBRARY})
MARK_AS_ADVANCED(KLU_LIBRARY)
FIND_PATH(KLU_INCLUDE_DIR NAMES KLU.h
FIND_PATH(KLU_INCLUDE_DIR NAMES klu.h
PATHS ${SUITESPARSE_CHECK_INCLUDE_DIRS})
IF (EXISTS ${KLU_INCLUDE_DIR})
MESSAGE(STATUS "Found KLU header in: ${KLU_INCLUDE_DIR}")
Expand Down

0 comments on commit 12230a8

Please sign in to comment.