date
date copied to clipboard
cmake 3.5 compatibility
Adds a few minor workarounds to make CMakeLists.txt compatible with cmake 3.5 (which is still out in the wild as it is Ubuntu xenial's cmake version):
-
$<IFisn't supported before 3.8, but all the uses of$<IFhere are actually simpler to write without$<IF. -
VERSION_GREATER_EQUALisn't supported before 3.7, but is easily worked around with aNOT ... VERSION_LESS
Fixes #547