Install header files during rpm install

This commit is contained in:
luwenpeng
2024-05-24 16:41:05 +08:00
parent 6c1f9d390c
commit 94fc1af6bd
2 changed files with 8 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ add_subdirectory(vendor)
add_subdirectory(deps) add_subdirectory(deps)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(script) add_subdirectory(script)
add_subdirectory(include)
add_subdirectory(test) add_subdirectory(test)
install(DIRECTORY DESTINATION log) install(DIRECTORY DESTINATION log)

7
include/CMakeLists.txt Normal file
View File

@@ -0,0 +1,7 @@
install(FILES stellar/utils.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/tuple.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/packet.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/session.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/stellar.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/session_mq.h DESTINATION include/stellar/ COMPONENT Profile)
install(FILES stellar/session_exdata.h DESTINATION include/stellar/ COMPONENT Profile)