From 350edc394dc3315f8fb81e25db8767726d66761c Mon Sep 17 00:00:00 2001 From: Metin Cakircali Date: Mon, 6 Jan 2025 21:03:51 +0100 Subject: [PATCH] fix(S3): build fdb-s3 tool only if s3 enabled --- src/fdb5/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fdb5/CMakeLists.txt b/src/fdb5/CMakeLists.txt index 7770d86a7..cfcdddc29 100644 --- a/src/fdb5/CMakeLists.txt +++ b/src/fdb5/CMakeLists.txt @@ -488,9 +488,12 @@ list( APPEND fdb5_tools fdb-status fdb-lock fdb-unlock - fdb-s3 ) +if( HAVE_S3FDB ) + list( APPEND fdb5_tools fdb-s3 ) +endif() + if ( HAVE_GRIB ) list( APPEND fdb5_tools fdb-hammer