Giter Club home page Giter Club logo

Comments (4)

guillaumeblanc avatar guillaumeblanc commented on July 3, 2024

Hi,

thanks for reporting the issue.
I know very little about permissions, and I think in this case everything is managed by cmake.

Could you have a look to cmake install command documentation and share your recommendations?

Regards,
Guillaume

from ozz-animation.

Peanhua avatar Peanhua commented on July 3, 2024

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:
https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html

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.

from ozz-animation.

guillaumeblanc avatar guillaumeblanc commented on July 3, 2024

Hi,
I'm not used enough to it, could you propose a change to conform install?
Regards,
Guillaume

from ozz-animation.

Peanhua avatar Peanhua commented on July 3, 2024

Before I could even start to propose any changes, I would need to know whether you are intending to follow FHS or not?

from ozz-animation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.