From 364b3542212f026f35af3f3ecd000a1e0184bfe9 Mon Sep 17 00:00:00 2001 From: gregorweiss <52161555+gregorweiss@users.noreply.github.com> Date: Wed, 13 Nov 2024 00:19:01 +0100 Subject: [PATCH] Update cmake/DetectOptions.cmake Co-authored-by: Vicente Bolea --- cmake/DetectOptions.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/DetectOptions.cmake b/cmake/DetectOptions.cmake index 79bfe65427..9a801da53b 100644 --- a/cmake/DetectOptions.cmake +++ b/cmake/DetectOptions.cmake @@ -76,9 +76,7 @@ if(ADIOS2_USE_BigWhoop STREQUAL AUTO) elseif(ADIOS2_USE_BigWhoop) find_package(BWC REQUIRED CONFIG) endif() -if(TARGET bwc::bwclib) - set(ADIOS2_HAVE_BigWhoop TRUE) -endif() +set(ADIOS2_HAVE_BigWhoop ${BWC_found}) # Blosc2 if(ADIOS2_USE_Blosc2 STREQUAL AUTO)