Skip to content
Snippets Groups Projects
Commit 7b3bdd4b authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix cmake configuration for missing HDF5 libraries

parent 82d75067
No related branches found
No related tags found
1 merge request!176Add HDF5 support
......@@ -237,6 +237,9 @@ if (PUGS_ENABLE_HDF5 MATCHES "^(AUTO|ON)$")
if (${HDF5_FOUND})
set(PUGS_CXX_FLAGS "${PUGS_CXX_FLAGS} ${HDF5_C_DEFINITIONS}")
include_directories(SYSTEM "${HDF5_C_INCLUDE_DIRS}")
else()
unset(HDF5_C_LIBRARIES)
unset(HDF5_C_HL_LIBRARIES)
endif()
set(PUGS_HAS_HDF5 ${HDF5_FOUND})
......@@ -696,10 +699,10 @@ endif()
if (HDF5_FOUND)
message(" HDF5: ${HDF5_VERSION} parallel: ${HDF5_IS_PARALLEL}")
else()
if (PUGS_ENABLE_SLEPC MATCHES "^(AUTO|ON)$")
message(" SLEPc: not found!")
if (PUGS_ENABLE_HDF5 MATCHES "^(AUTO|ON)$")
message(" HDF5: not found!")
else()
message(" SLEPc: explicitly deactivated!")
message(" HDF5: explicitly deactivated!")
endif()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment