Skip to content

Commit b0dc053

Browse files
committed
add generate_fmu.cmake change from 13eb5d8
1 parent 662535c commit b0dc053

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmake/generate_fmu.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ macro(_include_sources_in_fmu)
203203
file(REMOVE_RECURSE "${modelOutputDir}/sources/fmu4cpp/fmi2") # remove fmi2 sources
204204
file(COPY ${_fmu4cpp_root}/export/include/fmu4cpp DESTINATION "${modelOutputDir}/sources/")
205205

206+
foreach (dir IN LISTS FMU_INCLUDE_DIRS)
207+
file(COPY "${dir}/" DESTINATION "${modelOutputDir}/sources/")
208+
endforeach ()
209+
206210
foreach (s IN LISTS FMU_SOURCES VERSION_SOURCES)
207211
if (NOT "${s}" MATCHES "^\\$<") # skip generator expressions
208212
if (IS_ABSOLUTE "${s}")

0 commit comments

Comments
 (0)