> 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:
In a previous post I raised the issue of enabling all features as the
default to more quickly expose build failures and reduce the time we spend
collectively solving build issues. Some people might not like that idea
because they want a minimal system, but without enabling all features as
the default we never discover related bugs.