-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
The 'install' -target for make tries to change permissions on existing directories #160
Comments
Hi, thanks for reporting the issue. Could you have a look to cmake install command documentation and share your recommendations? Regards, |
Before jumping into CMake scripting, I think it'd be good idea to step back and think what is the goal here. First of all, I'm on Linux system, things are probably different in other systems. The default installation prefix is set to be "/usr/local", for me that is a sign the Filesystem Hierarchy Standard (FHS) is being used. If the default prefix would have contained the project name, then I wouldn't necessarily had made that assumption. Here are couple links about the FHS: So I do not know if you intend to follow FHS and what you actually want to accomplish with the 'install' make target. In the case that you did/do not intend to follow the FHS, then this issue and the other one can be ignored. But to avoid confusion, it would be good idea to change the default installation prefix to contain the project name. In the case that you did/do intend to follow the FHS, then there are basically two choices, either /usr/local or /opt. Personally I would prefer /usr/local because then the installed libraries would be automatically in my search path, without needing to add yet another include and lib -directory when compiling/linking my projects. |
Hi, |
Before I could even start to propose any changes, I would need to know whether you are intending to follow FHS or not? |
If I have the installation target "include" and other directories already in place, I do not wish to see their permissions altered in any way.
This can be tested for example with the following:
The above test should finish without errors. The behavior is same with the 0.14.1 release and current master branch.
The text was updated successfully, but these errors were encountered: