cmake: add runtime and development install components
@@ -631,9 +631,22 @@ endif()
#
install(TARGETS re-shared re
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/re
+ LIBRARY
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT re_run
+ ARCHIVE
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ COMPONENT re_dev
+ PUBLIC_HEADER
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/re
+ COMPONENT re_dev
+)
+
+install(TARGETS re-shared
+ LIBRARY
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ NAMELINK_ONLY
+ COMPONENT re_dev
)
