From e789de1d8a618da7084a44025094b75b2b6bd601 Mon Sep 17 00:00:00 2001
From: Norbert Podhorszki <pnorbert@ornl.gov>
Date: Thu, 1 Jun 2017 13:50:56 -0400
Subject: [PATCH] Require adios 1.12.0 when building with -DADIOS_USE_ADIOS1=ON

---
 source/adios2/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/adios2/CMakeLists.txt b/source/adios2/CMakeLists.txt
index 98e2c4ac2..6b96fe63a 100644
--- a/source/adios2/CMakeLists.txt
+++ b/source/adios2/CMakeLists.txt
@@ -77,9 +77,9 @@ endif()
 
 if(ADIOS_USE_ADIOS1)
   if(ADIOS_USE_MPI)
-    find_package(ADIOS1 REQUIRED)
+    find_package(ADIOS1 1.12.0 REQUIRED)
   else()
-    find_package(ADIOS1 COMPONENTS sequential REQUIRED)
+    find_package(ADIOS1 1.12.0 COMPONENTS sequential REQUIRED)
   endif()
 
   target_sources(adios2 PRIVATE
-- 
GitLab