Hey @space88man

I opted to used 3.10 as it was a recent enough and available on most platforms (Ubuntu 18.04 offers 3.10).

Now after doing some searching in the CMakeLists, I think it's good to upgrade at least to 3.13.

  1. find_package(LibXml2 REQUIRED): To have the target we are using, requires 3.12 as noted in https://cmake.org/cmake/help/latest/module/FindLibXml2.html
  2. I make use of this CMAKE_POLICYCMP0079 introduced in 3.13. This allows me to call target_link_libraries with targets defined outside of the current CMakeLists.txt
  3. I also make use of CMP0118, but that is introduced in 3.20. I have the workaround already in place for older versions, so we need no changes on this.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4078/2551059295@github.com>