On Saturday 07 January 2012 19:16:43 Bruce Dubbs wrote:
Timothy Pearson wrote:
[...]
There should be a global flag defined (WITH_SPEEX) if speex support is desired. If that flag is not set then there will be no fatal error when speex is not found.
To me, this is a drawback of cmake.
Is not a drawback, is intentional. If you request speex, build system should fail if is not found on your system.
You have to specify everything. I'm not an expert in cmake, but with configure, you generally can do --help and get a list of acceptable parameters. Most of the time it also tells you if the dependency is (auto) or not, or what the default is. For example, in kdegraphics-3.5.10, a simple ./configure gives: