Skip to content

Trying to link statically errors with ... link interface ... contains Threads::Threads ... target was not found ... #138

Description

@oe1rsa

This issue behaves similar to resolved #137 , but seems harder to solve, since in my case e.g. (linux) Threads::Threads is not even a physical library.

A work around is to include a call to find_package to look for Threads:

find_package(Threads REQUIRED)
find_package(limesuiteng REQUIRED)
...

targekt_link_libraries(myapp
    limesuiteng::limesuiteng
)

This seems to work in my case (since it appears to be a no op). I suspect it might get problematic on other platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions