Skip to content

Conversation

@maltelenz
Copy link
Contributor

Forcing an override of CMAKE_INSTALL_PREFIX is not friendly, since users might expect to set it themselves when they run cmake.

We have a real-world use case where we do set this ourselves when running cmake. We build the libraries on each platform separately, setting CMAKE_INSTALL_PREFIX to a nice place outside of the source. Only afterwards do we combine all of the results from each platform and put them in the final location.

Forcing an override of `CMAKE_INSTALL_PREFIX` is not friendly, since users might expect to set it themselves when they run cmake.
@beutlich beutlich added L: Resources Issue addresses Modelica/Resources (excl. C-Sources) V: 4.2.0-dev Issue originates in MSL v4.2.0-dev (and is not present in earlier releases) labels Mar 26, 2025
Copy link
Member

@beutlich beutlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@maltelenz maltelenz merged commit be949b2 into master Mar 26, 2025
2 checks passed
@maltelenz maltelenz deleted the maltelenz-unforced-installprefix branch March 26, 2025 10:50
@beutlich beutlich added this to the MSL4.2.0 milestone Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: Resources Issue addresses Modelica/Resources (excl. C-Sources) V: 4.2.0-dev Issue originates in MSL v4.2.0-dev (and is not present in earlier releases)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants