From dd2133f56e175700a3453e5e7464e57b650231b8 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 13 Aug 2019 08:53:09 -0700 Subject: Fixed Map API CMake option --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6474aa..eb22c7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -763,6 +763,9 @@ endif () # Option to build the map API #----------------------------------------------------------------------------- option (HDF5_ENABLE_MAP_API "Build the map API" OFF) +if (HDF5_ENABLE_MAP_API) + set (H5_HAVE_MAP_API 1) +endif () #----------------------------------------------------------------------------- # Add the HDF5 Library Target to the build -- cgit v0.12