Help: Document in add_library how to import libraries with SONAME

When using add_library to create an IMPORTED library target, there are a few target properties that are essential to correctly tell CMake about the library file. We already cover IMPORTED_LOCATION and IMPORTED_IMPLIB. Add IMPORTED_SONAME and IMPORTED_NO_SONAME, which are important in certain cases.

Fixes: #22016 (closed)
Backport: release

Merge request reports

Loading