Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CURL::libcurl INTERFACE_LINK_LIBRARIES uses -lpthread instead of Threads::Threads #6166

@reddwarf69

Description

@reddwarf69

Not sure why https://github.com/curl/curl/blob/master/CMakeLists.txt#L289 uses CMAKE_THREAD_LIBS_INIT when https://github.com/curl/curl/blob/master/CMakeLists.txt#L394 uses OpenSSL::SSL OpenSSL::Crypto.

At the very least this stop the user from getting the THREADS_PREFER_PTHREAD_FLAG usage honoured.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions