Skip to content

Commit e1396b5

Browse files
committed
fix: restore Cray CMAKE_MODULE_PATH arg for Silo HDF5 discovery
1 parent ef46ac6 commit e1396b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

toolchain/dependencies/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ if (MFC_SILO)
109109
"-DCMAKE_FIND_PACKAGE_REDIRECTS_DIR=${CMAKE_FIND_PACKAGE_REDIRECTS_DIR}"
110110
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
111111
"-DCMAKE_C_FLAGS=${_silo_c_flags}"
112+
"$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>:-DCMAKE_MODULE_PATH=${CMAKE_SOURCE_DIR}/../cmake/cce>"
112113
)
113114
endif()
114115
endif()

0 commit comments

Comments
 (0)