mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00: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
|
SOURCES
|
||||||
tests/test_gatherconvergencereport.cpp
|
tests/test_gatherconvergencereport.cpp
|
||||||
CONDITION
|
CONDITION
|
||||||
MPI_FOUND
|
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
|
||||||
DRIVER_ARGS
|
DRIVER_ARGS
|
||||||
5 ${CMAKE_BINARY_DIR}
|
5 ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
@ -143,7 +143,7 @@ opm_add_test(test_gatherdeferredlogger
|
|||||||
SOURCES
|
SOURCES
|
||||||
tests/test_gatherdeferredlogger.cpp
|
tests/test_gatherdeferredlogger.cpp
|
||||||
CONDITION
|
CONDITION
|
||||||
MPI_FOUND
|
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
|
||||||
DRIVER_ARGS
|
DRIVER_ARGS
|
||||||
5 ${CMAKE_BINARY_DIR}
|
5 ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user