build stellar and stellar-devel rpm

This commit is contained in:
luwenpeng
2024-05-29 16:14:38 +08:00
parent f82b85c979
commit ba1e651876
14 changed files with 35 additions and 40 deletions

View File

@@ -13,5 +13,5 @@ target_link_libraries(stellar stellar_core)
target_link_libraries(stellar "-rdynamic")
set_target_properties(stellar PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
install(TARGETS stellar RUNTIME DESTINATION bin COMPONENT Program)
install(TARGETS stellar RUNTIME DESTINATION bin COMPONENT PROGRAM)
install(TARGETS stellar_devel LIBRARY DESTINATION lib COMPONENT LIBRARIES)