date icon indicating copy to clipboard operation
date copied to clipboard

cmake 3.5 compatibility

Open jagerman opened this issue 5 years ago • 0 comments

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

  • $<IF isn't supported before 3.8, but all the uses of $<IF here are actually simpler to write without $<IF.

  • VERSION_GREATER_EQUAL isn't supported before 3.7, but is easily worked around with a NOT ... VERSION_LESS

Fixes #547

jagerman avatar Mar 03 '20 18:03 jagerman