Skip to content

Commit 47af576

Browse files
If no ADIOS1, then add ADIOS1 sources to main lib (#1407)
1 parent ee3ff8f commit 47af576

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,9 @@ if(openPMD_HAVE_ADIOS1)
785785

786786
target_link_libraries(openPMD PUBLIC openPMD.ADIOS1.Serial)
787787
target_link_libraries(openPMD PUBLIC openPMD.ADIOS1.Parallel)
788+
else()
789+
# add stubs to prevent missing symbols in Clang ASAN/UBSAN
790+
target_sources(openPMD PRIVATE ${IO_ADIOS1_SEQUENTIAL_SOURCE} ${IO_ADIOS1_SOURCE})
788791
endif()
789792

790793
# ADIOS2 Backend

0 commit comments

Comments
 (0)