Commit Graph

2 Commits

Author SHA1 Message Date
Yunze Xu
38d1652f15
[pulsar-client-cpp] Fix build failure when CMAKE_BUILD_TYPE is not specified (#36147)
* [pulsar-client-cpp] Fix build failure when CMAKE_BUILD_TYPE is not specified

* Force finding debug libraries by default
2024-01-17 12:12:40 -08:00
Yunze Xu
dc19823670
[pulsar-client-cpp] New port (#35579)
* [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
2023-12-29 00:15:51 -08:00