Skip to content

Conversation

@chadrockey
Copy link
Contributor

When following the build instructions for cppzmq, it's recommended to use cmake and find_package
https://github.com/zeromq/cppzmq?tab=readme-ov-file#build-instructions

#find cppzmq wrapper, installed by make of cppzmq find_package(cppzmq) target_link_libraries(*Your Project Name* cppzmq)

When including this recipe as cppzmq-dev, it does include the base c library zeromq-dev, shared but doesn't include the static lib dependency that this header only library seems to expect:

`CMake Error at /usr/lib/cmake/ZeroMQ/ZeroMQTargets.cmake:97 (message):
The imported target "libzmq-static" references the file

 "/usr/lib/libzmq.a"

but this file does not exist. Possible reasons include:`

This change ensures that the build instructions for cppzmq work as expected if you request cppzmq-dev. Without this, the user would need to also include zeromq-staticdev on their own or modify the upstream cmake file/create their own cmake file.

@kraj
Copy link
Contributor

kraj commented Apr 3, 2024

applied to master with decc39d

@kraj kraj closed this Apr 3, 2024
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jan 15, 2025
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.32.0

Features:

    Add support for DNS 0x20 to help prevent cache poisoning attacks, enabled
    by specifying ARES_FLAG_DNS0x20. Disabled by default. PR openembedded#800
    Rework query timeout logic to automatically adjust timeouts based on network
    conditions. The timeout specified now is only used as a hint until there
    is enough history to calculate a more valid timeout. PR openembedded#794

Changes:

    DNS RR TXT strings should not be automatically concatenated as there are use
    cases outside of RFC 7208. In order to maintain ABI compliance, the ability
    to retrieve TXT strings concatenated is retained as well as a new API to
    retrieve the individual strings. This restores behavior from c-ares 1.20.0.
    PR openembedded#801
    Clean up header inclusion logic to make hacking on code easier. PR openembedded#797
    GCC/Clang: Enable even more strict warnings to catch more coding flaws. 253bdee
    MSVC: Enable /W4 warning level. PR openembedded#792

Bugfixes:

    Tests: Fix thread race condition in test cases for EventThread. PR openembedded#803
    Windows: Fix building with UNICODE. PR openembedded#802
    Thread Saftey: ares_timeout() was missing lock. 74a64e4
    Fix building with DJGPP (32bit protected mode DOS). PR openembedded#789

Signed-off-by: Jason Schonberg <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants