Bump CMake version to 3.18

In particular, there were fixes related to handling of output locations and fixes related to handling of module search paths and linker search paths for transitive dependencies of targets which required workarounds previously.

Another option would be to actually have two separate versions of CMake and use that specifically for the specific target, but of course that incurs a complexity in the build system.

I'm not suggesting that any one solution is better, just trying to make sure that all the information is available so we can make an informed decision.

3 Likes