Open eero-t opened 5 years ago
One reason why use of something like MFX_HOME is bad, is that install target for your dependencies isn't necessarily a static thing.
Every one of our builds is done to a different directory (to retain build artifacts at the build server), i.e. MFX_HOME value would need to be re-generated every build. With pkg-config, everything works automatically, as pkg-config is something already supported by (Linux) build tools, and MediaSDK.
Setup:
Problem:
This is because:
Just removing the MFX_HOME weirdness and using standard pkg-config stuff instead makes things work: