From 76da99a04ef667b2c6e430d8dc147f090a9c00aa Mon Sep 17 00:00:00 2001 From: Ana Gainaru Date: Fri, 1 Mar 2024 10:54:55 -0500 Subject: [PATCH] Using the correct flag to detect the CUDA backend in ZFP --- cmake/DetectOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/DetectOptions.cmake b/cmake/DetectOptions.cmake index 13c98e4f5c..2b2bd3b285 100644 --- a/cmake/DetectOptions.cmake +++ b/cmake/DetectOptions.cmake @@ -125,7 +125,7 @@ if(ADIOS2_USE_ZFP) endif() if(ZFP_FOUND) set(ADIOS2_HAVE_ZFP TRUE) - set(ADIOS2_HAVE_ZFP_CUDA ${ZFP_CUDA}) + set(ADIOS2_HAVE_ZFP_CUDA ${ZFP_WITH_CUDA}) # Older versions of ZFP if(NOT ADIOS2_HAVE_ZFP_CUDA)