Skip to content

Commit e9dd5a1

Browse files
committed
build: rename Kernel component to libbitcoinkernel for consistency
1 parent e52f40b commit e9dd5a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/kernel/CMakeLists.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,24 @@ if(NOT BUILD_SHARED_LIBS)
123123
set(all_kernel_static_link_libs "")
124124
get_target_static_link_libs(bitcoinkernel all_kernel_static_link_libs)
125125

126-
install(TARGETS ${all_kernel_static_link_libs} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Kernel)
126+
install(TARGETS ${all_kernel_static_link_libs} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libbitcoinkernel)
127127
list(TRANSFORM all_kernel_static_link_libs PREPEND "-l")
128128
# LIBS_PRIVATE is substituted in the pkg-config file.
129129
list(JOIN all_kernel_static_link_libs " " LIBS_PRIVATE)
130130
endif()
131131

132132
configure_file(${PROJECT_SOURCE_DIR}/libbitcoinkernel.pc.in ${PROJECT_BINARY_DIR}/libbitcoinkernel.pc @ONLY)
133-
install(FILES ${PROJECT_BINARY_DIR}/libbitcoinkernel.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" COMPONENT Kernel)
133+
install(FILES ${PROJECT_BINARY_DIR}/libbitcoinkernel.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" COMPONENT libbitcoinkernel)
134134

135135
include(GNUInstallDirs)
136136
install(TARGETS bitcoinkernel
137137
RUNTIME
138138
DESTINATION ${CMAKE_INSTALL_BINDIR}
139-
COMPONENT Kernel
139+
COMPONENT libbitcoinkernel
140140
LIBRARY
141141
DESTINATION ${CMAKE_INSTALL_LIBDIR}
142-
COMPONENT Kernel
142+
COMPONENT libbitcoinkernel
143143
ARCHIVE
144144
DESTINATION ${CMAKE_INSTALL_LIBDIR}
145-
COMPONENT Kernel
145+
COMPONENT libbitcoinkernel
146146
)

0 commit comments

Comments
 (0)