Score:0

How to solve cmake "Could NOT find Threads" issue on Jenkins

ss flag

I'm trying to create a Jenkins job that need to build a project with CMake, but keep getting an error

Could NOT find Threads (missing: Threads_FOUND)

I've installed both

libpthread-stubs0-dev

and

libboost-thread1.67-dev

but the problem persists... I found this SO ticket, but since all works fine locally I don't think that problem in a code itself and it should fixed somehow.

Does anyone faced the same issue with cmake on Jenkins and knows how to solve it?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.