Skip to content

Commit

Permalink
COMP: HD5 generated sources for WebAssembly
Browse files Browse the repository at this point in the history
Emulator does not have access to filesystem.
  • Loading branch information
thewtex authored and bourdaisj committed May 15, 2024
1 parent 4c41214 commit 4e37480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ if (NOT EXISTS "${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c")
# ITK -- stop ]]
add_custom_command (TARGET H5detect POST_BUILD
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5detect>
ARGS H5Tinit.c
ARGS > H5Tinit.c
BYPRODUCTS H5Tinit.c gen_SRCS.stamp1
COMMAND ${CMAKE_COMMAND}
ARGS -E touch gen_SRCS.stamp1
Expand Down Expand Up @@ -1175,7 +1175,7 @@ endif ()

add_custom_command (TARGET H5make_libsettings POST_BUILD
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5make_libsettings>
ARGS H5lib_settings.c
ARGS > H5lib_settings.c
BYPRODUCTS H5lib_settings.c gen_SRCS.stamp2
COMMAND ${CMAKE_COMMAND}
ARGS -E touch gen_SRCS.stamp2
Expand Down

0 comments on commit 4e37480

Please sign in to comment.