mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Test ERT for a newer API level
We use an ERT version which needs to know whether at least this function signature exists. The earlier implementation covers too many versions.
This commit is contained in:
parent
ab8a507e49
commit
82410bda3e
@ -199,8 +199,8 @@ if (NOT (ERT_INCLUDE_DIR MATCHES "-NOTFOUND" OR ERT_LIBRARIES MATCHES "-NOTFOUND
|
||||
check_c_source_compiles (
|
||||
"#include <ert/ecl/ecl_util.h>
|
||||
int main (void) {
|
||||
int sz;
|
||||
sz = ecl_util_get_sizeof_ctype (ECL_INT_TYPE);
|
||||
bool ok;
|
||||
ok = ecl_util_fmt_file (\"foo.bar\", &ok);
|
||||
return 0;
|
||||
}" HAVE_ERT)
|
||||
cmake_pop_check_state ()
|
||||
|
Loading…
Reference in New Issue
Block a user