Skip to content

Commit

Permalink
Add libpetsc and libpflotranchem.a into building system.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmyuan committed Aug 15, 2024
1 parent 16dbcf1 commit 0ff67be
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/cmake/common_setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,13 @@ endif()

if (ELM_USE_ALQUIMIA)
set(SLIBS "${SLIBS} -L${ALQUIMIA_LIB} -lalquimia -Wl,-rpath,${ALQUIMIA_LIB}")
endif()

if (PFLOTRAN_PATH)
set(SLIBS "${SLIBS} -L${PFLOTRAN_PATH} -lpflotranchem -Wl,-rpath,${PFLOTRAN_PATH}")

if(PETSC_DIR)
set(SLIBS "${SLIBS} -L${PETSC_DIR}/lib -lpetsc -Wl,-rpath,${PETSC_DIR}/lib")
endif()
endif()

endif()

0 comments on commit 0ff67be

Please sign in to comment.