Tell installation also about ixml components.
@@ -54,9 +54,17 @@ set_target_properties (ixml_shared PROPERTIES
install (TARGETS ixml_shared
EXPORT IXML
- DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT UPNP_Development
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
+ COMPONENT UPNP_Development
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT UPNP_RunTime
+ NAMELINK_COMPONENT UPNP_Development
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
+ COMPONENT UPNP_Development
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ COMPONENT UPNP_RunTime
)
add_library (ixml_static STATIC
@@ -92,8 +100,17 @@ target_include_directories (ixml_static
install (TARGETS ixml_static
EXPORT IXML
- DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT UPNP_Development
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
+ COMPONENT UPNP_Development
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT UPNP_RunTime
+ NAMELINK_COMPONENT UPNP_Development
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
+ COMPONENT UPNP_Development
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ COMPONENT UPNP_RunTime
)
install (EXPORT IXML
