From 8e8d187805f5cc0e6cef2364d77aca8c3bb38b72 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 19 Feb 2020 12:28:55 +0100 Subject: [PATCH] disable building of tests if Boost::test is not found --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c0f29153..e8687d1aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} )