Skip to content

Commit 4f5e150

Browse files
Add install statements for headers and libipc
1 parent 1a39118 commit 4f5e150

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ add_subdirectory(test)
2020

2121
add_subdirectory(demo/chat)
2222
add_subdirectory(demo/msg_que)
23+
24+
install(
25+
DIRECTORY "include/"
26+
DESTINATION "include"
27+
)

src/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ if(NOT MSVC)
3232
pthread
3333
$<$<NOT:$<STREQUAL:${CMAKE_SYSTEM_NAME},Windows>>:rt>)
3434
endif()
35+
36+
install(
37+
TARGETS ${PROJECT_NAME}
38+
DESTINATION "lib"
39+
)

0 commit comments

Comments
 (0)