[CMake] Re: Detecting linux distro?

Stephen Quinney squinney at inf.ed.ac.uk
Mon Mar 3 14:11:13 EST 2008


On Mon, Mar 03, 2008 at 02:12:24PM -0300, Rodolfo Schulz de Lima wrote:
> Stephen Quinney escreveu:
> >an obvious solution. I want to be able to detect which Linux system
> >the package is building on, i.e. is it Fedora, Debian, Gentoo, etc?
> 
> Hi... Usually there's a file named /etc/lsb-release which contents 
> inform the distribution used (along with other infos).
> 

Yes, I should have been clearer, I was wondering if anyone had wrapped
this all into a cmake module which set up some standard variables.

Stephen



More information about the CMake mailing list