Renamed upnp export
@@ -177,7 +177,7 @@ IF (UPNP_ENABLE_OPEN_SSL)
ENDIF (UPNP_ENABLE_OPEN_SSL)
INSTALL (TARGETS upnp_shared
- EXPORT UPNPCONFIG
+ EXPORT UPNP
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
@@ -211,7 +211,7 @@ IF (WIN32)
ENDIF (WIN32)
SET_TARGET_PROPERTIES(upnp_static PROPERTIES
- OUTPUT_NAME upnps
+ OUTPUT_NAME upnp${STATIC_POSTFIX}
EXPORT_NAME UPNP::STATIC
)
@@ -227,11 +227,11 @@ IF (UPNP_ENABLE_OPEN_SSL)
ENDIF (UPNP_ENABLE_OPEN_SSL)
INSTALL (TARGETS upnp_static
- EXPORT UPNPCONFIG
+ EXPORT UPNP
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
)
-INSTALL (EXPORT UPNPCONFIG
+INSTALL (EXPORT UPNP
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
)
