From 5ad08b3843df6fb4438f8b1e3449ef857491089e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= Date: Mon, 13 Jun 2016 09:44:37 +0200 Subject: [PATCH] Change Find-output test source code opm-output is about to remove the OutputWriter.hpp header, which means this test program will break. Wells.hpp and default-constructed data::Rates is a better fit for the future. --- cmake/Modules/Findopm-output.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/Findopm-output.cmake b/cmake/Modules/Findopm-output.cmake index 2fb635350..c2c433edf 100644 --- a/cmake/Modules/Findopm-output.cmake +++ b/cmake/Modules/Findopm-output.cmake @@ -30,9 +30,10 @@ find_opm_package ( "" # test program -"#include +"#include int main (void) { - return 0; + Opm::data::Rates r; + return 0; } " # config variables