From 415b884d8c9322d4d9d0df57858e5d9f887a279e Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Thu, 5 Dec 2024 11:32:44 +0100 Subject: [PATCH] conform with cmake configuration for other compression libraries --- cmake/DetectOptions.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/DetectOptions.cmake b/cmake/DetectOptions.cmake index 9a801da53b..763e16a58f 100644 --- a/cmake/DetectOptions.cmake +++ b/cmake/DetectOptions.cmake @@ -76,7 +76,9 @@ if(ADIOS2_USE_BigWhoop STREQUAL AUTO) elseif(ADIOS2_USE_BigWhoop) find_package(BWC REQUIRED CONFIG) endif() -set(ADIOS2_HAVE_BigWhoop ${BWC_found}) +if(BWC_FOUND) + set(ADIOS2_HAVE_BigWhoop TRUE) +endif() # Blosc2 if(ADIOS2_USE_Blosc2 STREQUAL AUTO)