iOS - If I use "-G Xcode" option, then we get the error "Could NOT find Threads (missing: Threads_FOUND)"
I'm using CMake build 3.8 RC2. And Xcode 8.2.
I'm trying to build iOS project, by specifying iOS tool chain.
I have a requirement where I need to generate "Xcode" project.
But if I try to create the project from cmake, using the "-G Xcode", then I always end up with this error:: Could NOT find Threads (missing: Threads_FOUND)
I have tried 3.7, and 3.8 nightly build, and all of them have the same issue.
There have been a lot of threads on this, and nothing has worked for me.
Please help.