Skip to content

Commit

Permalink
fix cargo-psibase-package target name
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Mart committed Sep 24, 2024
1 parent 7d30f4d commit edad8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/psibase/sdk/pack_service.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function(cargo_psibase_package)
set(PACKAGE_OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${ARG_PATH}/target/wasm32-wasi/release/packages/${PACKAGE_NAME})

# Build the package if needed
ExternalProject_Add(${TARGET_NAME}
ExternalProject_Add(${TARGET_NAME}_ext
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${ARG_PATH}
BUILD_BYPRODUCTS ${PACKAGE_OUTPUT}
CONFIGURE_COMMAND ""
Expand All @@ -343,5 +343,5 @@ function(cargo_psibase_package)
DEPENDS ${PACKAGE_OUTPUT}
VERBATIM
)
add_custom_target(${TARGET_NAME}_output ALL DEPENDS ${ARG_OUTPUT})
add_custom_target(${TARGET_NAME} ALL DEPENDS ${ARG_OUTPUT})
endfunction()

0 comments on commit edad8cc

Please sign in to comment.