We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mosquitto: 2.0.20 Pthreads4w: 3.0.0 OS: Windows10 Compiler: MSVC 19.40.33812
I met a compilation error on static build due to lack of pthread.h. It works fine with following hand patch.
if (WITH_THREADING) if(WIN32) target_link_libraries(libmosquitto_static PThreads4W::PThreads4W) else() set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) target_link_libraries(libmosquitto_static Threads::Threads) endif() endif()
Is it valid workaround or not?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Mosquitto: 2.0.20
Pthreads4w: 3.0.0
OS: Windows10
Compiler: MSVC 19.40.33812
I met a compilation error on static build due to lack of pthread.h.
It works fine with following hand patch.
Is it valid workaround or not?
The text was updated successfully, but these errors were encountered: