Skip to content

Changes

Summary

  1. Fix installation path specifier. (#1250) (details)
  2. Set install component when part of OpenModelica. (#1251) (details)
  3. Fix copy paste mistake. (#1252) (details)
Commit 2c7edb0172e8c24340e468faedfbc7803775fe17 by Mahder Gebremedhin
Fix installation path specifier. (#1250)

  - Make the install path relative. CMAKE_INSTALL_PREFIX is added to each
    install path implicitly. No need to specify it. In fact it makes the
    packages generated from this setup not relocatable.
The file was modified src/OMSimulatorServer/CMakeLists.txt (diff)
Commit fe765f7c433c5767d25df2727f8a282592ca48d6 by Mahder Gebremedhin
Set install component when part of OpenModelica. (#1251)

  - 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.)
The file was modified CMakeLists.txt (diff)
Commit 7426fa7c32d257991eda1ef72987cd48be04a49e by Mahder Gebremedhin
Fix copy paste mistake. (#1252)

  - Logic was reversed.
The file was modified CMakeLists.txt (diff)