Restore compatibility with cmake 3.9 (#7329)
authorGereon Kremer <nafur42@gmail.com>
Mon, 11 Oct 2021 06:26:49 +0000 (23:26 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Oct 2021 06:26:49 +0000 (06:26 +0000)
commitec36a86e7250707a1c848779e856078fb3af0b04
treeff07b4d9dda52325f439cabced23f88d303e6bb3
parent7990b5285c69e9a42aa430af5607b1c47b1602e6
Restore compatibility with cmake 3.9 (#7329)

This goes back to the new cmake setup and makes it compatible again with cmake 3.9.
It mostly means we can not link object libraries and also not link other libraries to object libraries.

I've tested these changes within docker on `ubuntu:18-04` with a manually installed `cmake-3.9.6`.
cmake/FindANTLR3.cmake
cmake/FindGMP.cmake
cmake/version.cmake
src/CMakeLists.txt
src/main/CMakeLists.txt
src/parser/CMakeLists.txt