bctoolbox
bctoolbox copied to clipboard
Options in CMake for define a path to install Frameworks in macOS
Hi there. I'm the maintainer of the bctoolbox port over at MacPorts.
It looks like the Frameworks installation location is hard-coded in the following lines:
https://github.com/BelledonneCommunications/bctoolbox/blob/388770fdc00e24fe15ff25aa62c6bf7df08224d9/src/CMakeLists.txt#L286-L305
... on the line:
FRAMEWORK DESTINATION Frameworks
MacPorts uses the following directory for frameworks: ${prefix}/Library/Frameworks
. For example:
/opt/local/Library/Frameworks/Python.framework.
I tried to fix this with my patch, but I'm not sure if it does not break anything.
https://raw.githubusercontent.com/macports/macports-ports/master/devel/bctoolbox/files/patch-fix-Frameworks-path.diff
Could you please provide a separate option in CMake that could be used to define a path to install frameworks?