mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 05:21:29 +08:00
dc19823670
* [pulsar-client-cpp] New port * Remove unnecessary link options * Address review comments - Use find_dependency instead of find_package - Specify BUILD_DYNAMIC_LIB explicitly * Fix the Windows build and linkage * Fix dynamic library not built when VCPKG_LIBRARY_LINKAGE is dynamic on Windows * Fix Linux and OSX failures * Remove PULSAR_FORCE_DYNAMIC_LIBRARY and upgrade version to 3.4.2 * Reduce the changes to the upstream CMakeLists.txt * Remove unused version * Optimize finding and linking dependency and patch the header for static library * Support multi-config generators * Fix path for release libraries
5 lines
158 B
Plaintext
5 lines
158 B
Plaintext
pulsar-client-cpp provides CMake targets:
|
|
|
|
find_package(unofficial-pulsar CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE unofficial::pulsar::pulsar)
|