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 "--------------"