I\'m newbie with CMake. I tested it on Linux for a program I am making. This program uses (POSIX Threads lib), so in my CMakeList, I added :
find_package(Thread
As far as i know, Pthreads is not natively supported on windows platform. Unless you use some thing like
win services for unix
Windows only has win32 threads.
However, this is a project which provides pthreads on windows
pthreads on win32