Add targets dependencies

This commit is contained in:
Ned Wright 2024-02-01 10:25:32 +00:00
parent 6d67818a94
commit 6981d06303
3 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,8 @@ target_link_libraries(attachment_registration_manager
-Wl,--end-group -Wl,--end-group
) )
add_dependencies(attachment_registration_manager ngen_core)
install(TARGETS attachment_registration_manager DESTINATION bin) install(TARGETS attachment_registration_manager DESTINATION bin)
install(TARGETS attachment_registration_manager DESTINATION attachment_registration_manager_service/bin) install(TARGETS attachment_registration_manager DESTINATION attachment_registration_manager_service/bin)

View File

@ -41,6 +41,8 @@ target_link_libraries(cp-nano-http-transaction-handler
-Wl,--end-group -Wl,--end-group
) )
add_dependencies(cp-nano-http-transaction-handler ngen_core)
install(TARGETS cp-nano-http-transaction-handler DESTINATION bin) install(TARGETS cp-nano-http-transaction-handler DESTINATION bin)
install(TARGETS cp-nano-http-transaction-handler DESTINATION http_transaction_handler_service/bin) install(TARGETS cp-nano-http-transaction-handler DESTINATION http_transaction_handler_service/bin)

View File

@ -33,6 +33,8 @@ target_link_libraries(
-Wl,--end-group -Wl,--end-group
) )
add_dependencies(orchestration_comp ngen_core)
install(TARGETS orchestration_comp DESTINATION bin) install(TARGETS orchestration_comp DESTINATION bin)
install(TARGETS orchestration_comp DESTINATION orchestration/bin) install(TARGETS orchestration_comp DESTINATION orchestration/bin)