Linux installation: dependency Threads resolving
Unsolved
Installation and Deployment
-
While configuration, cmake throws an error:
"package "Qt6" is considered to be NOT FOUND. Reason given by package: Qt6 could not be found because dependency Threads could not be found."Which library should I install to resolve this dependency?
-
Like this:
set(CMAKE_THREAD_LIBS_INIT "-lpthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)
2/2