find_component was defaulting to pkgconfig, which is great, but it means that it did not respect my hints for FFMPEG custom build. I'm sure this can be re-orderable using a optional flag.
Another of my issues was with Find_FFmpeg having a bunch of commented out code, so variables would not get filled out. I also added a FFMPEGDIR option so that a user can specify a root directory in case the defaults do not exist.
I also removed QTKit from the linker flags.
I added a messageV macro in order to print messages only with -DMSG_VERSBOSE=ON, maybe there is a better way. This is useful to print out the status messages of the find results to make sure the correct lib is being used.
find_component was defaulting to pkgconfig, which is great, but it means that it did not respect my hints for FFMPEG custom build. I'm sure this can be re-orderable using a optional flag.
Another of my issues was with Find_FFmpeg having a bunch of commented out code, so variables would not get filled out. I also added a FFMPEGDIR option so that a user can specify a root directory in case the defaults do not exist.
I also removed QTKit from the linker flags.
I added a messageV macro in order to print messages only with -DMSG_VERSBOSE=ON, maybe there is a better way. This is useful to print out the status messages of the find results to make sure the correct lib is being used.