File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,6 @@ LANGUAGES C CXX Fortran)
55
66include (CTest)
77
8- list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} /../cmake/Modules)
9-
10- # --- find external libraries
11-
12- find_package (HDF5 COMPONENTS Fortran REQUIRED)
13-
14- # --- Find our library
158if (NOT h5fortran_ROOT AND NOT DEFINED ENV{h5fortran_ROOT})
169 set (h5fortran_ROOT ${PROJECT_SOURCE_DIR} /../build )
1710endif ()
Original file line number Diff line number Diff line change 1- 3.6.4
1+ 3.6.5
Original file line number Diff line number Diff line change 11@PACKAGE_INIT@
22
3+ include (CMakeFindDependencyMacro)
4+
5+ list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} /../Modules)
6+ find_dependency(HDF5 COMPONENTS Fortran)
7+
38include (
"${CMAKE_CURRENT_LIST_DIR} /@[email protected] " )
49
510check_required_components(@PROJECT_NAME @)
You can’t perform that action at this time.
0 commit comments