bbc / bmx

Library and utilities to read and write broadcasting media files. Primarily supports the MXF file format
BSD 3-Clause "New" or "Revised" License
57 stars 16 forks source link

libmfx/cmake: use gnuinstalldirs and don't limit pkg-config generation #47

Closed 1480c1 closed 9 months ago

1480c1 commented 9 months ago

https://github.com/bbc/libMXF/pull/6 https://github.com/bbc/libMXF/pull/7

Also allows the end user to install the binaries to a different location. Example being -DCMAKE_INSTALL_BINDIR=bin-video. More info available at https://cmake.org/cmake/help/v3.12/module/GNUInstallDirs.html

Makes it so that it generates the .pc file when using non-unix systems like with mingw-w64 cmake from msys2.