On Thu, Aug 18, 2011 at 08:35, Nils Andresen <n...@nils-andresen.de> wrote:
> While thinking about what's needed to prepare a new gentoo-build I
> have one point I'd like you to consider:
> For our optional dependencies (alsa, pulseaudio and cups) I'd need the
> following options for each of this dependencies:
> - leave everything as it is & use auto-discovery (this is the option
> for everyone but me ;-) )
> - depend on the lib (i.g. alsa) and do break if it is not found
> - do not depend on it, even if it were on my system.

Take a loook at

/usr/share/cmake-2.8/Modules/CMakeDependentOption.cmake

This does something similar and can be used as a basis to write a
module to handle it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to