File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -795,10 +795,9 @@ endif()
795795
796796set (hdf5_lsuf lib hdf5/lib) # need explicit "lib" for self-built HDF5
797797if (NOT HDF5_ROOT)
798- if (parallel IN_LIST HDF5_FIND_COMPONENTS)
799- list (INSERT hdf5_lsuf 0 hdf5/openmpi hdf5/mpich) # Ubuntu
800- list (INSERT hdf5_lsuf 0 openmpi/lib mpich/lib) # CentOS
801- else ()
798+ list (INSERT hdf5_lsuf 0 hdf5/openmpi hdf5/mpich) # Ubuntu
799+ list (INSERT hdf5_lsuf 0 openmpi/lib mpich/lib) # CentOS
800+ if (NOT parallel IN_LIST HDF5_FIND_COMPONENTS)
802801 list (INSERT hdf5_lsuf 0 hdf5/serial) # Ubuntu
803802 endif ()
804803endif ()
@@ -813,12 +812,14 @@ else()
813812 set (hdf5_msuf static include )
814813endif ()
815814
816- if (parallel IN_LIST HDF5_FIND_COMPONENTS)
817- list (APPEND hdf5_isuf hdf5/openmpi hdf5/mpich) # Ubuntu
818- list (APPEND hdf5_msuf hdf5/openmpi hdf5/mpich) # Ubuntu
819- else ()
820- list (APPEND hdf5_isuf hdf5/serial) # Ubuntu
821- list (APPEND hdf5_msuf hdf5/serial) # Ubuntu
815+ # Ubuntu
816+ list (INSERT hdf5_isuf 0 hdf5/openmpi hdf5/mpich)
817+ list (INSERT hdf5_msuf 0 hdf5/openmpi hdf5/mpich)
818+
819+ if (NOT parallel IN_LIST HDF5_FIND_COMPONENTS)
820+ # Ubuntu
821+ list (INSERT hdf5_isuf 0 hdf5/serial)
822+ list (INSERT hdf5_msuf 0 hdf5/serial)
822823endif ()
823824
824825if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|AMD64)" )
You can’t perform that action at this time.
0 commit comments