From d5e0669bde2b58ea039021d172b5a4fbc7345ebc Mon Sep 17 00:00:00 2001 From: conrad Date: Thu, 9 Mar 2023 12:24:35 +1000 Subject: [PATCH] disable detection of HDF5 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da1ff3a1..3482e3ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,9 +192,9 @@ else() option(BUILD_SHARED_LIBS "build shared library" ON) endif() -option(DETECT_HDF5 "Detect HDF5 (deprecated)" ON) +option(DETECT_HDF5 "Detect HDF5 (deprecated)" OFF) # set(DETECT_HDF5 false) -## uncomment the above line to disable the detection of the HDF5 library; +## uncomment the above line to forcefully disable the detection of the HDF5 library; ## you can also disable HDF5 detection directly on the command line: ## cmake -D DETECT_HDF5=false .