shared library target properties: Please warn if people does weird thing with VERSION and SOVERSION
It seems that sometimes projects, either due to typos or not fully understanding things, sets up stuff like
add_library(Foo SHARED ....)
set_target_properties(Foo PROPERTIES VERSION 1.2.3 SOVERSION 4)
where SOVERSION does not match the first component of VERSION.
While things still technically works, it is surprising.
It happens either because people changes one but not the other or because people put "project/release-version" in VERSION and not the actual versioning for the library.
Having CMake gently telling people that they have a typo or are doing something weird would be nice.