Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CMAKE_INSTALL_LIBDIR is ignored by CMakeLists.txt #3409

Open
wahnfred opened this issue Jun 19, 2024 · 0 comments
Open

[Bug]: CMAKE_INSTALL_LIBDIR is ignored by CMakeLists.txt #3409

wahnfred opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels

Comments

@wahnfred
Copy link

wahnfred commented Jun 19, 2024

What happened?

-DCMAKE_INSTALL_LIBDIR=lib64 is ignored and mishandled in CMakeLists.txt.

87: set(CL_PREFIX "${CMAKE_INSTALL_PREFIX}")

and then in

284: if(NOT CL_PREFIX)

When cmake is called with CMAKE_INSTALL_LIBDIR set, it should also be preferred over

294: include(GNUInstallDirs) # defines CMAKE_INSTALL_LIBDIR to lib or lib64 or whatever. Available since cmake.

Version

Self compiled: 17.10.0-15-g0ef94810a

Operating system

Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants