build: label installation targets with 'development' component
This commit is contained in:
parent
b9d534048d
commit
493317cc9c
@ -555,11 +555,11 @@ add_library(cruft-util ALIAS cruft)
|
||||
|
||||
target_include_directories(cruft PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
install (TARGETS cruft LIBRARY)
|
||||
install (TARGETS cruft LIBRARY COMPONENT development)
|
||||
|
||||
set (headers ${UTIL_FILES})
|
||||
list (FILTER headers INCLUDE REGEX "\\.hpp$")
|
||||
install (FILES ${headers} DESTINATION "include/cruft/util")
|
||||
install (FILES ${headers} DESTINATION "include/cruft/util" COMPONENT development)
|
||||
|
||||
|
||||
search_libs (SHM_LIBS shm_open rt)
|
||||
@ -743,6 +743,8 @@ FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/libcruft.pc"
|
||||
DESTINATION
|
||||
"share/pkgconfig"
|
||||
COMPONENT
|
||||
development
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user