[CMake] Changes to cmake_minimum_required() for 3.12

2018-06-30 Thread Craig Scott
(Subject changed to be specific to this discussion) On Sat, Jun 30, 2018 at 3:13 PM, Hendrik Sattler wrote: > It would actually make even more sense to rename cmake_minimum_required() > to cmake_version_required() with the new syntax or something similar. Users > of the old function cannot use t

[CMake] How to specify library dir for imported interface?

2018-06-30 Thread Francis Giraldeau
Build fails at link time, because a static library imported using pkg-config is not in the standard path: [ 74%] Linking CXX executable valhalla_add_predicted_traffic /usr/bin/c++ ... -lprime_server ... Usually, cmake uses the absolute path to the static library, but instead, pkg-config provide