cmake - clean up a bit in non-advanced variables

This commit is contained in:
Andrej730
2025-12-12 14:42:44 +05:00
parent 5a0f8d30cf
commit 61269136cd
6 changed files with 10 additions and 0 deletions
+1
View File
@@ -86,6 +86,7 @@ endif()
if(NOT HDF5_INCLUDE_DIR OR NOT HDF5_LIBRARY_DIR)
# First try to find it as a config.
find_package(HDF5 CONFIG)
mark_as_advanced(HDF5_DIR)
if(HDF5_DIR)
message(STATUS "HDF5: found config at '${HDF5_DIR}'.")
set(HDF5_LIBRARIES hdf5_cpp-static)