Skip to content

Erase the remaining _INSTALL_PREFIX and LIBSUFFIX in CMake files - #3155

Merged
kimkulling merged 2 commits into
assimp:masterfrom
Zalewa:libsuffix-import-prefix
Apr 17, 2020
Merged

kimkulling merged 2 commits into
assimp:masterfrom
Zalewa:libsuffix-import-prefix

Conversation

@Zalewa

@Zalewa Zalewa commented Apr 16, 2020

Copy link
Copy Markdown
Contributor

These seem to have survived from the migration to GNUInstallDirs in
9fb81c3

_INSTALL_PREFIX was not set anywhere and resolved to empty value, which
in turn caused some paths in the installed lib config CMake files to
start from '/', effectively causing the failure of the "do the installed
files exist" checks.

After complete replacement of all uses of the _INSTALL_PREFIX with
GNUInstallDirs equivalents, the LIBSUFFIX variable has become unused
and can be removed too.

This is an amendment to PR #3126.

These seem to have survived from the migration to GNUInstallDirs in
9fb81c3

_INSTALL_PREFIX was not set anywhere and resolved to empty value, which
in turn caused some paths in the installed lib config CMake files to
start from '/', effectively causing the failure of the "do the installed
files exist" checks.

After complete replacement of all uses of the _INSTALL_PREFIX with
GNUInstallDirs equivalents, the LIBSUFFIX variable has become unused
and can be removed too.
@vmatare

vmatare commented Apr 16, 2020

Copy link
Copy Markdown
Contributor

I'm glad this problem has been noticed so quickly. It comes from a botched conflict resolution in 2d4eab6, which was done to merge PR #3035, which should have been closed, not merged.

@kimkulling

Copy link
Copy Markdown
Member

Thanks for figuring this out.

@kimkulling
kimkulling merged commit 8219b7c into assimp:master Apr 17, 2020
@kimkulling

Copy link
Copy Markdown
Member

Merged, thanks a lot for your contribution.

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