Stratimikos: fix CMake for Amesos2 disabled
Created by: ibaned
@trilinos/stratimikos
Description
Try to fix a use case brought up by @hkthorn in respose to #1090
Motivation and Context
@hkthorn has a build where configure fails in this file.
How Has This Been Tested?
Not tested by me yet, I intend to use the checkin script. @hkthorn could test her case if possible.
Checklist
-
My code follows the code style of the affected package(s). -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
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. -
These changes break backwards compatibility.