While trying it without PATHS specified results in configure error (even when include_directories points to the correct path):
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AVCODEC
linked by target "ffmpegdecoder" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/ffmpegdecoder
linked by target "stockencoders" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/stockencoders
AVFORMAT
linked by target "ffmpegdecoder" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/ffmpegdecoder
linked by target "stockencoders" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/stockencoders
AVUTIL
linked by target "ffmpegdecoder" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/ffmpegdecoder
linked by target "stockencoders" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/stockencoders
SWRESAMPLE
linked by target "ffmpegdecoder" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/ffmpegdecoder
linked by target "stockencoders" in directory /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_musikcube/musikcube/work/musikcube-3.0.3/src/plugins/stockencoders
Setting include path is not sufficient to find libraries of FFMpeg, when those are not in default paths.
What is needed is either of the following:
For example, this works:
While trying it without PATHS specified results in configure error (even when
include_directories
points to the correct path):