-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Added LIB_INSTALL_DIR to correct libs install on 64-bit systems #636
Conversation
This looks good, but it should autodetect lib and lib64. We probably need to implement the solution which is on the cmake mailinglist here: https://cmake.org/pipermail/cmake/2013-July/055374.html |
This not should autodetect lib and lib64. It set by external parameter: |
That is not true autodetection, that is passed by the developer which builds the package. CMake should be able to autodetect it if the default libdir is lib64. I'm not against adding build parameters but the idea would be good by default. |
Fedora has /usr/lib and /usr/lib64 simultaneously and you can't autodetect where I want place builded libs. Let maintainer do it via -DLIB_INSTALL_DIR:PATH= . |
Yeah the lib contains 32 bit stuff which can run with the 32bit compatibility layer under |
You can add autodetect if you wish but keep force redefinition of it by this parameter. |
Yes that would be fine, but please document the addition of this supported build parameter in doc/compiling.doc |
This is enough? |
Great, thanks for this. The name LIB_INSTALL_DIR comes from autoconf GNU projects, but I can live with this as it is convenient for everybody. |
Thanks.
|
It also adds the |
But -DLIB_SUFFIX is the same external parameter as -DLIB_INSTALL_DIR. |
Solve for #633