feat(linear-static-3d-euler-beam): step 23 - hdf5-results-writer
This commit is contained in:
@@ -44,10 +44,13 @@ if(NOT TARGET TBB::tbb)
|
||||
message(FATAL_ERROR "The oneTBB CONFIG package did not define TBB::tbb")
|
||||
endif()
|
||||
|
||||
if(TARGET hdf5::hdf5-static)
|
||||
set(_fesa_hdf5_target hdf5::hdf5-static)
|
||||
elseif(TARGET hdf5::hdf5-shared)
|
||||
# Prefer the packaged shared C runtime when both variants exist. The Windows
|
||||
# static archive may carry compiler-runtime requirements that are not part of
|
||||
# the HDF5 imported target's transitive link interface.
|
||||
if(TARGET hdf5::hdf5-shared)
|
||||
set(_fesa_hdf5_target hdf5::hdf5-shared)
|
||||
elseif(TARGET hdf5::hdf5-static)
|
||||
set(_fesa_hdf5_target hdf5::hdf5-static)
|
||||
elseif(TARGET HDF5::HDF5)
|
||||
set(_fesa_hdf5_target HDF5::HDF5)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user