correction in CMakeLists.txt

This commit is contained in:
Christian Zimmermann 2025-01-01 02:58:27 -08:00
parent e619650902
commit 54028c58b1

View file

@ -104,9 +104,9 @@ endif()
# CHECK LIBRARIES : cereal
if(DEFINED ENABLE_cereal)
set(ENABLE_cereal ${ENABLE_cereal} CACHE BOOL "enable hdf5")
set(ENABLE_cereal ${ENABLE_cereal} CACHE BOOL "enable cereal")
else()
set(ENABLE_cereal TRUE CACHE BOOL "enable hdf5")
set(ENABLE_cereal TRUE CACHE BOOL "enable cereal")
endif()
find_package(cereal QUIET)