diff options
author | Hans Johnson <hans.j.johnson@gmail.com> | 2020-12-14 05:06:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 05:06:21 (GMT) |
commit | 0f12cd9212f2852da353a53234e223e75ae0609b (patch) | |
tree | 44cd874b0620dba4f2357d7817aaacb3584d8dfa | |
parent | a2524671caef27446e531a6eb9e20fcc1a2ff708 (diff) | |
download | hdf5-0f12cd9212f2852da353a53234e223e75ae0609b.zip hdf5-0f12cd9212f2852da353a53234e223e75ae0609b.tar.gz hdf5-0f12cd9212f2852da353a53234e223e75ae0609b.tar.bz2 |
BUG: Missing output dependency shared/H5init.c (#165)hdf5-1_13_0-rc1
All outputs depenancies need to be listed for
the custom command.
ninja: error: 'cmake_object_order_depends_target_hdf5-shared_DEBUG', needed by 'Modules/ThirdParty/HDF5/src/itkhdf5/shared/H5Tinit.c', missing and no known rule to make it
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1bc878f..e831659 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1136,7 +1136,8 @@ else () ) if (BUILD_SHARED_LIBS) add_custom_command ( - OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1 + OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c + ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1 COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different "${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c" "${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c" COMMAND ${CMAKE_COMMAND} |