Use the right var for upnp
@@ -141,7 +141,7 @@ set_target_properties (upnp_shared PROPERTIES
OUTPUT_NAME upnp
EXPORT_NAME UPNP::Shared
VERSION ${UPNP_SOMAJOR}
- SOVERSION ${UPNP_VERSION_MAJOR}
+ SOVERSION ${UPNP_SOVERSION}
PUBLIC_HEADER "${UPNP_HEADERS}"
)
