Merge pull request #41 from randomizedthinking/master

Add install statements for headers and libipc
This commit is contained in:
木头云 2021-05-24 10:36:19 +08:00 committed by GitHub
commit 647f7a2efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/msg_que)
install(
DIRECTORY "include/"
DESTINATION "include"
)

View File

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