summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-05-24 16:41:05 +0800
committerluwenpeng <[email protected]>2024-05-24 16:41:51 +0800
commit94fc1af6bd4e12c67deef94423775cd2e0aecf38 (patch)
tree109d2aefa154c2c1f27e213ebc0df581e14d9f61
parent6c1f9d390ce951c37edc05c299d818f3636f0542 (diff)
Install header files during rpm install
-rw-r--r--CMakeLists.txt1
-rw-r--r--include/CMakeLists.txt7
2 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a44129..cb34586 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,6 +60,7 @@ add_subdirectory(vendor)
add_subdirectory(deps)
add_subdirectory(src)
add_subdirectory(script)
+add_subdirectory(include)
add_subdirectory(test)
install(DIRECTORY DESTINATION log) \ No newline at end of file
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
new file mode 100644
index 0000000..bb0e98b
--- /dev/null
+++ b/include/CMakeLists.txt
@@ -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) \ No newline at end of file