Skip to content

Commit

Permalink
Fix CCE/Silo issue for good
Browse files Browse the repository at this point in the history
  • Loading branch information
henryleberre committed Apr 5, 2024
1 parent d69bb3d commit 5d31bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ if (MFC_SILO)
-DSILO_ENABLE_BROWSER=OFF
-DHDF5_USE_STATIC_LIBRARIES=ON
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
$<$<NOT:$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>>:"-DSILO_HDF5_DIR=\"${CMAKE_INSTALL_PREFIX}\"">
$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>:"-DCMAKE_MODULE_PATH=${CMAKE_SOURCE_DIR}/../cmake">
"$<$<NOT:$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>>:-DSILO_HDF5_DIR=${CMAKE_INSTALL_PREFIX}>"
"$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>:-DCMAKE_MODULE_PATH=${CMAKE_SOURCE_DIR}/../cmake>"
)

if (MFC_HDF5 AND NOT CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
Expand Down

0 comments on commit 5d31bb2

Please sign in to comment.