From 6afb711485ea04992fd64b4bb8d966293435b398 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 10 Mar 2026 08:47:29 +0100 Subject: [PATCH] adjust to changed DownloadFmt --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b0ddc817c..1f4d45511f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,8 +130,9 @@ macro(opm-simulators_prereqs_hook) unset(HAVE_HDF5) endif() - if(NOT fmt_FOUND) + if(NOT TARGET fmt::fmt) include(DownloadFmt) + DownloadFmt(opmsimulators) endif() if (OPM_ENABLE_PYTHON)