mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-07-03 17:36:25 +00:00
Fix RustAddLibrary for multiple components.
Change-Id: I74a5a5a72817559766d65a485493474de5e8487c GitOrigin-RevId: 4116bed377cf8d851d8a81e250caf236f330f1f4
This commit is contained in:
parent
16d547d52d
commit
a859632f85
@ -31,7 +31,7 @@ function(RustAddLibrary lib_name)
|
||||
endif()
|
||||
|
||||
add_custom_target(
|
||||
${libmain}_custom
|
||||
${lib_name}_custom
|
||||
BYPRODUCTS
|
||||
${RUST_BUILD_DIR}/${RUST_LIB_FILENAME}
|
||||
${USES_TERMINAL_DEBUG}
|
||||
@ -49,5 +49,5 @@ function(RustAddLibrary lib_name)
|
||||
TARGET ${lib_name}
|
||||
PROPERTY IMPORTED_LOCATION "${RUST_BUILD_DIR}/${RUST_LIB_FILENAME}"
|
||||
)
|
||||
add_dependencies(${lib_name} ${libmain}_custom)
|
||||
add_dependencies(${lib_name} ${lib_name}_custom)
|
||||
endfunction()
|
||||
|
Loading…
Reference in New Issue
Block a user