Skip to content

Incorrect setting for caf_lib_dir in Installed caf script #321

@nncarlson

Description

@nncarlson

Using a cmake installation prefix in /opt/..., I found that the installed caf script sets caf_lib_dir=lib64 which is incorrect. It should have been prefixed by the value of CMAKE_INSTALL_PREFIX. You're getting the value from CMAKE_INSTALL_LIBDIR which is set by the GNUInstallDirs module, and it isn't always an absolute path. I think maybe you want CMAKE_INSTALL_FULL_LIBDIR here.

Same issue for caf_mod_dir, but that was irrelevant in my case.

I think this is likely related to some of the issues from #268.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions