We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662535c commit b0dc053Copy full SHA for b0dc053
1 file changed
cmake/generate_fmu.cmake
@@ -203,6 +203,10 @@ macro(_include_sources_in_fmu)
203
file(REMOVE_RECURSE "${modelOutputDir}/sources/fmu4cpp/fmi2") # remove fmi2 sources
204
file(COPY ${_fmu4cpp_root}/export/include/fmu4cpp DESTINATION "${modelOutputDir}/sources/")
205
206
+ foreach (dir IN LISTS FMU_INCLUDE_DIRS)
207
+ file(COPY "${dir}/" DESTINATION "${modelOutputDir}/sources/")
208
+ endforeach ()
209
+
210
foreach (s IN LISTS FMU_SOURCES VERSION_SOURCES)
211
if (NOT "${s}" MATCHES "^\\$<") # skip generator expressions
212
if (IS_ABSOLUTE "${s}")
0 commit comments