From 68615744c7917b5ebfe1902c5010a8d53de4d906 Mon Sep 17 00:00:00 2001 From: "Rule Timothy (VM/EMT3)" Date: Thu, 28 Mar 2024 12:25:51 +0100 Subject: [PATCH] Fix deployment of network.so in examples. Signed-off-by: Rule Timothy (VM/EMT3) --- dse/network/CMakeLists.txt | 4 ++++ dse/network/Makefile | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dse/network/CMakeLists.txt b/dse/network/CMakeLists.txt index e40bc4c..a2589b8 100644 --- a/dse/network/CMakeLists.txt +++ b/dse/network/CMakeLists.txt @@ -105,6 +105,10 @@ install( DESTINATION data ) +install(TARGETS network + LIBRARY DESTINATION + examples/brake-by-wire/models/network/lib +) install( DIRECTORY ../../licenses diff --git a/dse/network/Makefile b/dse/network/Makefile index d42887d..65c5e4b 100644 --- a/dse/network/Makefile +++ b/dse/network/Makefile @@ -27,9 +27,6 @@ build: external # Build incremental. cd build; make cd build; make install -# Post Build modifications. - mkdir -p build/_out/examples/brake-by-wire/models/network/lib - cp build/_out/lib/network.so build/_out/examples/brake-by-wire/models/network/lib/network.so @echo "" @echo "Sandbox files: - $$(pwd)/build/_out" @echo "--------------"