Win/Apple/Linux if-else structure is partially based on Telegram scripts1.
Also, duplicating opening argument inside closing else/endif/etc. is
considered legacy by CMake documentation, and thus better be avoided.
Changed home page URL from multi-level escaped backslash insanity to "http://"
with forward slashes.
Changed condition if ("${RPM}") to if (RPM), since later is a special form
of a basic expression in CMake condition syntax2. This is pretty much what
if (WIN32) et al. are all about.
Some install() commands with single source argument were inlined.
Some lines were indented with tabs. They were replaced with spaces.
Win/Apple/Linux if-else structure is partially based on Telegram scripts1. Also, duplicating opening argument inside closing else/endif/etc. is considered legacy by CMake documentation, and thus better be avoided.
Changed home page URL from multi-level escaped backslash insanity to "http://" with forward slashes.
Changed condition
if ("${RPM}")
toif (RPM)
, since later is a special form of a basic expression in CMake condition syntax2. This is pretty much whatif (WIN32)
et al. are all about.Some install() commands with single source argument were inlined.
Some lines were indented with tabs. They were replaced with spaces.