[CMake] Re: Detecting linux distro?

Rodolfo Schulz de Lima rodolfo at rodsoft.org
Mon Mar 3 12:12:24 EST 2008


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).

Regards,
Rodolfo Lima.



More information about the CMake mailing list