From 17fb2f800f2febba4ba621a4157ebe69321ce1ec Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Wed, 12 Jun 2024 09:24:50 -0400 Subject: [PATCH] Update FMS CMake target As we move to FMS in Baselibs, we shouldn't use the old `fms_r4` and `fms_r8` targets anymore as they are non-standard. Instead we move to `FMS::fms_r4` and `FMS::fms_r8`. --- MOM6_GEOSPlug/CMakeLists.txt | 2 +- MOM6_GEOSPlug/mom6_cmake/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MOM6_GEOSPlug/CMakeLists.txt b/MOM6_GEOSPlug/CMakeLists.txt index a1e27af..4d19dd3 100644 --- a/MOM6_GEOSPlug/CMakeLists.txt +++ b/MOM6_GEOSPlug/CMakeLists.txt @@ -10,7 +10,7 @@ esma_add_subdirectories( esma_add_library (${this} SRCS ${SRCS} - DEPENDENCIES MAPL fms_r8 mom6 + DEPENDENCIES MAPL FMS::fms_r8 mom6 TYPE SHARED ) diff --git a/MOM6_GEOSPlug/mom6_cmake/CMakeLists.txt b/MOM6_GEOSPlug/mom6_cmake/CMakeLists.txt index fd92212..f1963e7 100644 --- a/MOM6_GEOSPlug/mom6_cmake/CMakeLists.txt +++ b/MOM6_GEOSPlug/mom6_cmake/CMakeLists.txt @@ -522,7 +522,7 @@ endforeach () esma_add_library (${this} SRCS ${SRCS} - DEPENDENCIES fms_r8 + DEPENDENCIES FMS::fms_r8 INCLUDES $ # choose above set MOM6_infra interface