From 12faa92f269f327e7381e51cb44f42648f1bc225 Mon Sep 17 00:00:00 2001 From: "Timothy Rule (VM/EMT3)" Date: Fri, 13 Dec 2024 11:15:09 +0100 Subject: [PATCH] Include counter FMU in distribution. Signed-off-by: Timothy Rule (VM/EMT3) --- dse/examples/fmu/counter/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dse/examples/fmu/counter/CMakeLists.txt b/dse/examples/fmu/counter/CMakeLists.txt index f66a06f..27139ce 100644 --- a/dse/examples/fmu/counter/CMakeLists.txt +++ b/dse/examples/fmu/counter/CMakeLists.txt @@ -170,3 +170,19 @@ install(CODE " WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${FMU_FMI3_PATH} )" ) +install( + FILES + ${CMAKE_INSTALL_PREFIX}/${FMU_FMI2_PATH}/${MODULE_LC}.zip + DESTINATION + ${FMU_FMI2_PATH} + RENAME + ${MODULE_LC}.fmu +) +install( + FILES + ${CMAKE_INSTALL_PREFIX}/${FMU_FMI3_PATH}/${MODULE_LC}.zip + DESTINATION + ${FMU_FMI3_PATH} + RENAME + ${MODULE_LC}.fmu +)