From 1aba738ad7cab857bb0ab8c0bc5945c448a3c114 Mon Sep 17 00:00:00 2001 From: James-Mart Date: Tue, 24 Sep 2024 19:18:17 +0000 Subject: [PATCH] try to fix 'no rule to make target' --- libraries/psibase/sdk/pack_service.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/psibase/sdk/pack_service.cmake b/libraries/psibase/sdk/pack_service.cmake index 746fed481..392f1541d 100644 --- a/libraries/psibase/sdk/pack_service.cmake +++ b/libraries/psibase/sdk/pack_service.cmake @@ -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})