Skip to content

Commit 9b033be

Browse files
committed
cmake: rename Kernel component to bitcoinkernel for consistency
1 parent 2e0c925 commit 9b033be

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,23 +123,23 @@ 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 bitcoinkernel)
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 bitcoinkernel)
134134

135135
install(TARGETS bitcoinkernel
136136
RUNTIME
137137
DESTINATION ${CMAKE_INSTALL_BINDIR}
138-
COMPONENT Kernel
138+
COMPONENT bitcoinkernel
139139
LIBRARY
140140
DESTINATION ${CMAKE_INSTALL_LIBDIR}
141-
COMPONENT Kernel
141+
COMPONENT bitcoinkernel
142142
ARCHIVE
143143
DESTINATION ${CMAKE_INSTALL_LIBDIR}
144-
COMPONENT Kernel
144+
COMPONENT bitcoinkernel
145145
)

0 commit comments

Comments
 (0)