Add install statements for headers and libipc

This commit is contained in:
Gang Liang 2021-05-23 10:38:42 -07:00
parent 1a39118c1e
commit 4f5e150c61
2 changed files with 10 additions and 0 deletions

View File

@ -20,3 +20,8 @@ add_subdirectory(test)
add_subdirectory(demo/chat) add_subdirectory(demo/chat)
add_subdirectory(demo/msg_que) add_subdirectory(demo/msg_que)
install(
DIRECTORY "include/"
DESTINATION "include"
)

View File

@ -32,3 +32,8 @@ if(NOT MSVC)
pthread pthread
$<$<NOT:$<STREQUAL:${CMAKE_SYSTEM_NAME},Windows>>:rt>) $<$<NOT:$<STREQUAL:${CMAKE_SYSTEM_NAME},Windows>>:rt>)
endif() endif()
install(
TARGETS ${PROJECT_NAME}
DESTINATION "lib"
)