Skip to content

Commit 62d4957

Browse files
committed
work in progress
1 parent 97cc592 commit 62d4957

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/generate_fmu.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function(generateFMU modelIdentifier)
2020
set(COMMON_OBJECTS "$<TARGET_OBJECTS:fmu4cpp_base>")
2121
target_include_directories(${modelIdentifier} PUBLIC "${PROJECT_SOURCE_DIR}/export/include")
2222

23+
set(generatedSourcesDir "${CMAKE_BINARY_DIR}/generated")
2324

2425
foreach (fmiVersion IN LISTS FMU_FMI_VERSIONS)
2526

@@ -130,8 +131,7 @@ function(generateFMU modelIdentifier)
130131
COMMAND ${CMAKE_COMMAND} -E tar "c" "${modelIdentifier}.fmu" --format=zip
131132
"resources"
132133
"${modelOutputDir}/binaries"
133-
"${modelOutputDir}/modelDescription.xml"
134-
VERBATIM)
134+
"${modelOutputDir}/modelDescription.xml")
135135
endif ()
136136

137137
endforeach ()

0 commit comments

Comments
 (0)