This is very bad for downstream packaging as one can not override these locations without patching the CMakeLists.txt.
Please instead rely on GNUInstallDirs, which is a builtin facility of cmake. Reinventing the wheel here will unfortunately be very painful for anyone else otherwise.
All that downstreams should have to pass in to cmake when it comes to defining install location is -D CMAKE_INSTALL_PREFIX=/usr to modify the prefix used for the target location.
I can try and have a look whether I can provide a patch for this.
Hi! :wave: I am currently trying to package this library for Arch Linux as it is now an implied requirement for ardour.
I noticed that in https://github.com/agfline/LibAAF/blob/3e4c2cd4ae3c6ebb6598f78cba30278a86f4232f/CMakeLists.txt#L62-L64 you are hardcoding non-standard location parameters.
This is very bad for downstream packaging as one can not override these locations without patching the CMakeLists.txt.
Please instead rely on GNUInstallDirs, which is a builtin facility of cmake. Reinventing the wheel here will unfortunately be very painful for anyone else otherwise.
All that downstreams should have to pass in to cmake when it comes to defining install location is
-D CMAKE_INSTALL_PREFIX=/usr
to modify the prefix used for the target location.I can try and have a look whether I can provide a patch for this.