Skip to content

use GNUInstallDirs where possible - #3115

Merged
kimkulling merged 1 commit into
assimp:assimp_5.0_releasefrom
vmatare:assimp_5.0_release
Apr 2, 2020
Merged

kimkulling merged 1 commit into
assimp:assimp_5.0_releasefrom
vmatare:assimp_5.0_release

Conversation

@vmatare

@vmatare vmatare commented Mar 31, 2020 •

Copy link
Copy Markdown
Contributor

Emulate the CMAKE_INSTALL_FULL_* variables on non-Unix systems and disable redefining FHS-mandated install locations via user-editable ASSIMP_*_INSTALL_DIR variables. Instead, if it REALLY proves necessary, Unix users can edit the advanced, canonical CMAKE_INSTALL_* variables.

Emulate the CMAKE_INSTALL_FULL_* variables on non-Unix systems and
disable redefining FHS-mandated install locations via user-editable
ASSIMP_*_INSTALL_DIR variables. Instead, if it REALLY proves necessary,
Unix users can edit the advanced, canonical CMAKE_INSTALL_* variables.
@vmatare

vmatare commented Mar 31, 2020

Copy link
Copy Markdown
Contributor Author

This fixes #2719, but without the fragile guesswork in #3035 .

@vmatare

vmatare commented Mar 31, 2020 •

Copy link
Copy Markdown
Contributor Author

I have no experience with Hunter, and can't test on Windows or Apple platforms. So I'm pretty confident this is the right way to do it on Unix (without Hunter, which should apply to MacOS, too...?), but if this project is serious about Windows support, it should be tested there as well.

@kimkulling

Copy link
Copy Markdown
Member

The new git workflow shall be able to test it. But it is under development at the moment and not stable.
You have used not the master? Why?

@maquefel

maquefel commented Apr 1, 2020

Copy link
Copy Markdown
Contributor

Yes @vmatare solution looks more correct to me.

@vmatare

vmatare commented Apr 1, 2020 •

Copy link
Copy Markdown
Contributor Author

You have used not the master? Why?

I thought of it as a bugfix to the 5.0 release, but I can make a PR against master as well of you like.

@kimkulling

Copy link
Copy Markdown
Member

Would be great.

@kimkulling
kimkulling merged commit 8840449 into assimp:assimp_5.0_release Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants