When OMSimulator is built as part of OpenModelica, set the install component to omsimulator for all targets built by it. OpenModelica has multiple install components and so this needs to be set as well. Otherwise CMake will put it under the 'unknown' install component it creates automatically.
This can be changed to be set always (even when not part of OpenModelica) It should work just fine as well. For now, it is set only when it is actually required (i.e, OMsimulator is part of OpenModelica.)
When OMSimulator is built as part of OpenModelica, set the install component to
omsimulator
for all targets built by it. OpenModelica has multiple install components and so this needs to be set as well. Otherwise CMake will put it under the 'unknown' install component it creates automatically.This can be changed to be set always (even when not part of OpenModelica) It should work just fine as well. For now, it is set only when it is actually required (i.e, OMsimulator is part of OpenModelica.)