> The tdenetwork package has a cmake option -DWITH_SPEEX. > > How do I add the specific location of the speex include > files? With automake I would add this: > > --with-extra-includes=/usr/include/speex > > What is the equivalent directive in cmake? > > -DINCLUDE_DIRECTORIES="/usr/include/speex" Thanks! I did not find that when I searched the web. > Generally > later there should be added a check via pkg_config in > ConfigureChecks.cmake. so it would be handled out of the > box. 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?