2012/1/7 Darrell Anderson
<humanreadable(a)yahoo.com>
Hmm. Same problem is going to happen with several
other packages, such
as
amarok. In amarok there is a -DWITH_MP4V2 option, but I need to ensure
cmake finds the header files in /usr/include/mp4v2 and not in
/usr/include/mp4. I can use the -DINCLUDE_DIRECTORIES option, but seems
cmake should be configured to look in that directory automatically. How
do
I revise the cmake files to look there automatically?
Just add this to ConfigureChecks.cmake:
if( WITH_SPEEX )
pkg_search_module( SPEEX speex )
if( NOT SPEEX_FOUND )
tde_message_fatal( "speex is required, but was not found on your
system" )
endif( NOT SPEEX_FOUND )
endif( WITH_SPEEX )
# haven't tested but should work.
# and check the name of speex *.pc file in /usr/lib/pkgconfig.