mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #2357 from akva2/conditional_test_suite
disable building of tests if Boost::test is not found
This commit is contained in:
+2
-2
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user