TriUtils: modifying CMakeLists.txt to avoid undefined reference with Epetra=OFF
Created by: lucbv
@trilinos/triutils
Description
Moving Trilinos_Util_svbrres.cpp into the list of objects to be built only when Epetra is enabled due to its dependence on Trilinos_Util_dusmm.cpp (there is call to DGEMM that triggers this dependence).
Motivation and Context
When building trilinos with Epetra=OFF the linker errors because of an undefined reference to Trilinos_Util_dusmm
Related Issues
- Follows #4386
How Has This Been Tested?
A local build with Epetra=OFF has been successful
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced.