As agreed I started a new pull request correcting my pr #9.
Please note that my previous pr #9 was the result of a manual add to a new fork of some changes I made this summer on a local clone of the original Coin3D / Quarter. Reviewing the changes I suspect to have mixed also some code of the pr #8 that - at the age - was not merged yet. Sorry again for the mess, it was done without intention.
As for the changes:
The installation path for the Quarter library was always set to CMAKE_INSTALL_PREFIX/lib that is not always correct for linux systems with x86_64 architecture. Now the path for the RUNTIME|LIBRARY|ARCHIVE Quarter library targets is left to the underlying CMAKEINSTALL{BIN,LIB,LIB}DIR variables as initialized from the inclusion of GNUInstallDirs cmake macro.
On Fedora the missing LIBRARY destination for the designer plugin ends up in an error during configuration under qt5. I suspect that the same behaviour could happen on qt4 too, but I couldn't check.
Fixed for some compile error for the plugin with qt5 on Fedora systems.
Original pull request by Giampiero Gabbiani (Bitbucket: ggabbiani, GitHub: ggabbiani).
As agreed I started a new pull request correcting my pr #9.
Please note that my previous pr #9 was the result of a manual add to a new fork of some changes I made this summer on a local clone of the original Coin3D / Quarter. Reviewing the changes I suspect to have mixed also some code of the pr #8 that - at the age - was not merged yet. Sorry again for the mess, it was done without intention.
As for the changes:
The installation path for the Quarter library was always set to CMAKE_INSTALL_PREFIX/lib that is not always correct for linux systems with x86_64 architecture. Now the path for the RUNTIME|LIBRARY|ARCHIVE Quarter library targets is left to the underlying CMAKEINSTALL{BIN,LIB,LIB}DIR variables as initialized from the inclusion of GNUInstallDirs cmake macro.
On Fedora the missing LIBRARY destination for the designer plugin ends up in an error during configuration under qt5. I suspect that the same behaviour could happen on qt4 too, but I couldn't check.
Fixed for some compile error for the plugin with qt5 on Fedora systems.
Best regards Giampiero