Merge branch 'fix/issue-860-cmake-guard' into 'master'
[test] Make work with older CMake versions
Closes #860 (closed)
See merge request !1973 (merged)
(cherry picked from commit 2c7e4f71)
d7d18cdd [test] Make work with older CMake versions
Edited by Kilian Weishaupt