sijie closed pull request #2529: Added cmake install for lib and headers URL: https://github.com/apache/incubator-pulsar/pull/2529
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/pulsar-client-cpp/lib/CMakeLists.txt b/pulsar-client-cpp/lib/CMakeLists.txt index 5b2dbf9139..2116ed65a9 100644 --- a/pulsar-client-cpp/lib/CMakeLists.txt +++ b/pulsar-client-cpp/lib/CMakeLists.txt @@ -45,3 +45,7 @@ set_target_properties(pulsarShared PROPERTIES OUTPUT_NAME ${LIB_NAME} VERSION ${ target_link_libraries(pulsarStatic ${COMMON_LIBS}) target_link_libraries(pulsarShared ${COMMON_LIBS}) +install(TARGETS pulsarStatic DESTINATION lib) +install(TARGETS pulsarShared DESTINATION lib) + +install(DIRECTORY "../include/pulsar" DESTINATION include) \ No newline at end of file ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services