mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
disable building of tests if Boost::test is not found
This commit is contained in:
parent
ff3c634924
commit
8e8d187805
@ -132,7 +132,7 @@ opm_add_test(test_gatherconvergencereport
|
||||
SOURCES
|
||||
tests/test_gatherconvergencereport.cpp
|
||||
CONDITION
|
||||
MPI_FOUND
|
||||
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
|
||||
DRIVER_ARGS
|
||||
5 ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
@ -143,7 +143,7 @@ opm_add_test(test_gatherdeferredlogger
|
||||
SOURCES
|
||||
tests/test_gatherdeferredlogger.cpp
|
||||
CONDITION
|
||||
MPI_FOUND
|
||||
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
|
||||
DRIVER_ARGS
|
||||
5 ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user