Skip to content

Commit

Permalink
try to fix 'no rule to make target'
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Mart committed Sep 24, 2024
1 parent 06496e4 commit 1aba738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/psibase/sdk/pack_service.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,10 @@ function(cargo_psibase_package)
DEPENDS ${ARG_DEPENDS} cargo-psibase
)

# Make the final output
add_custom_command(
OUTPUT ${ARG_OUTPUT}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${PACKAGE_OUTPUT} ${ARG_OUTPUT}
DEPENDS ${PACKAGE_OUTPUT}
DEPENDS ${TARGET_NAME}_ext
VERBATIM
)
add_custom_target(${TARGET_NAME} ALL DEPENDS ${ARG_OUTPUT})
Expand Down

0 comments on commit 1aba738

Please sign in to comment.