fixed: use PROJECT_BINARY_DIR, not CMAKE_BINARY_DIR

tests fail to execute in super-build otherwise
This commit is contained in:
Arne Morten Kvarving
2020-04-21 08:50:51 +02:00
parent 7180f0a885
commit 16a1ddfe5e

View File

@@ -168,7 +168,7 @@ opm_add_test(test_gatherconvergencereport
CONDITION CONDITION
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
DRIVER_ARGS DRIVER_ARGS
5 ${CMAKE_BINARY_DIR} 5 ${PROJECT_BINARY_DIR}
) )
opm_add_test(test_gatherdeferredlogger opm_add_test(test_gatherdeferredlogger
@@ -179,7 +179,7 @@ opm_add_test(test_gatherdeferredlogger
CONDITION CONDITION
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
DRIVER_ARGS DRIVER_ARGS
5 ${CMAKE_BINARY_DIR} 5 ${PROJECT_BINARY_DIR}
) )
include(OpmBashCompletion) include(OpmBashCompletion)