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
What I did, I edited the cmake file:
option(CMAKE_USE_WIN32_THREADS_INIT "using WIN32 threads" ON)
and
option(gtest_disable_pthreads "Disable uses of pthreads in gtest." ON)
(I am using google test)