Skip to content

Commit

Permalink
Merge pull request #67 from smolins/master
Browse files Browse the repository at this point in the history
fix issue w/ linking multipass function: use mpicxx, petsc now requir…
  • Loading branch information
smolins authored Aug 19, 2020
2 parents 6d65141 + 2ba1c19 commit 6bdc05e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/Modules/FindPETSc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ int main(int argc,char *argv[]) {
return 0;
}
")
multipass_source_runs ("${includes}" "${libraries}" "${_PETSC_TEST_SOURCE}" ${runs} "${PETSC_LANGUAGE_BINDINGS}")
# multipass_source_runs ("${includes}" "${libraries}" "${_PETSC_TEST_SOURCE}" ${runs} "${PETSC_LANGUAGE_BINDINGS}")
multipass_source_runs ("${includes}" "${libraries}" "${_PETSC_TEST_SOURCE}" ${runs} "CXX")
if (${${runs}})
set (PETSC_EXECUTABLE_RUNS "YES" CACHE BOOL
"Can the system successfully run a PETSc executable? This variable can be manually set to \"YES\" to force CMake to accept a given PETSc configuration, but this will almost always result in a broken build. If you change PETSC_DIR, PETSC_ARCH, or PETSC_CURRENT you would have to reset this variable." FORCE)
Expand Down

0 comments on commit 6bdc05e

Please sign in to comment.