move fmt handling into prereqs hook

This commit is contained in:
Arne Morten Kvarving committed 2026-02-06 14:37:42 +01:00
1 parent ef0c066264
commit eebd02462a
2 files changed
+5 -3

No files matched your search

+4 -3
View File
@@ -49,6 +49,10 @@ macro(opm-simulators_prereqs_hook)
set(HDF5_FOUND OFF)
unset(HAVE_HDF5)
endif()
if(NOT fmt_FOUND)
include(DownloadFmt)
endif()
endmacro()
macro(opm-simulators_sources_hook)
@@ -111,9 +115,6 @@ macro(opm-simulators_config_hook)
opm_need_version_of ("dune-fem")
endif()
if(NOT fmt_FOUND)
include(DownloadFmt)
endif()
if(USE_TRACY_PROFILER AND Tracy_FOUND)
set(USE_TRACY 1)
list(APPEND opm-simulators_LIBRARIES Tracy::TracyClient)
+1
View File
@@ -68,6 +68,7 @@ set (opm-simulators_DEPS
"Damaris 1.9"
"HDF5"
"Tracy"
"fmt"
)
find_package_deps(opm-simulators)