Windows: only set SOVERSION for shared libs
This fixes a bug in the cmake config that unconditionally sets properties that are only valid for shared libraries. After this fix it is possible to build static poppler on mingw-w64.
This fixes a bug in the cmake config that unconditionally sets properties that are only valid for shared libraries. After this fix it is possible to build static poppler on mingw-w64.