Skip to content
Snippets Groups Projects
Commit 4d887bc2 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Fix build guard for solverfactorytest_*_direct

The CMAKE_GUARD for multiple guarding variables requires a
porper boolean statement.
parent 454fd55c
No related branches found
No related tags found
1 merge request!528Fix build guard for solverfactorytest_*_direct
Pipeline #61358 passed
......@@ -92,13 +92,7 @@ function(add_factory_test BLOCK)
dune_add_test(SOURCES ${CMAKE_CURRENT_BINARY_DIR}/solverfactorytest_${BLOCK_CLEAN}_direct.cc
MPI_RANKS 1 2 4
TIMEOUT 600
CMAKE_GUARD
HAVE_MPI
SuiteSparse_CHOLMOD_FOUND
SuiteSparse_LDL_FOUND
SuiteSparse_SPQR_FOUND
SuiteSparse_UMFPACK_FOUND
SuperLU_FOUND)
CMAKE_GUARD "HAVE_MPI AND SuiteSparse_CHOLMOD_FOUND AND SuiteSparse_LDL_FOUND AND SuiteSparse_SPQR_FOUND AND SuiteSparse_UMFPACK_FOUND AND SuperLU_FOUND")
endif()
endfunction(add_factory_test)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment