[CMake] FInd threads - iOS

Nick Overdijk nick at astrant.net
Thu Mar 14 14:01:03 EDT 2013


You should install boost in /usr/local with ./b2 install, then more packages will find it. Did you do this or not?

Anyway, I just did this:

git clone git://github.com/SOCI/soci.git
cd soci
cd src
mkdir build
cd build
cmake ..

And it worked for me. So what did you do exactly?

On 2013-14-03, at 18:52:08 , Casey Basichis wrote:

> Hi,
> 
> I'm tryng to build SOCI on iOS.  I was able to enter my boost path in my ~/.profile to get that running, but I'm getting stuck on finding threads.
> 
> -- Could NOT find Threads (missing:  Threads_FOUND) 
> CMake Error at core/CMakeLists.txt:22 (message): 
>   No thread library found 
> 
> Is there a way to set a path manually to a threading library like I did with boost?  What can I do to get this building?
> 
> Thanks,
> Casey
> 
> -- 
> Casey James Basichis
> Composer - Adventure Time - Cartoon Network
> http://www.caseyjamesbasichis.com
> caseybasichis at gmail.com
> 310.387.7540
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130314/6ef9dd54/attachment-0001.htm>


More information about the CMake mailing list