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_POLICY`[CMP0079](https://cmake.org/cmake/help/latest/policy/CMP0079.html)
 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](https://cmake.org/cmake/help/latest/policy/CMP0118.html#policy: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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4078#issuecomment-2551059295
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4078/2551059...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to