correction in CMakeLists.txt
This commit is contained in:
parent
e619650902
commit
54028c58b1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue