[CMake] threads and math lib, status
Prakash Punnoor
lists at punnoor.de
Thu Nov 24 04:16:41 EST 2005
Hi,
I found this from 2003:
http://public.kitware.com/pipermail/cmake/2003-September/004262.html
I wonder what is the current status. I want to clean up my CMake project
file which currently detects stuff onits own. I scanned throught the
Threads package whcih basically does what I need - missing one thing: Do
you support MorphOS? OpenAL at east did it. Though we are considering
dropping it, it currently is still supported. We test for the threads
lib this way (adjusted to cmake for my needs):
CHECK_INCLUDE_FILE(dlfcn.h MOSTHREAD_AVAILABLE)
Libs don't seem to be linked to explicitly.
In the old thread Brad said one could link to libm on Unix and Windows
doesn't need it. What about Darwin? Does it need libm? Currently OpenAL
checks whether libm exists on Darwin but if not, it doesn't care,
either, whereas on Unixes it errors out. Is Unix defined on Darwin?
AFAIK it is BSD based.
Cheers,
Prakash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20051124/1e13225a/signature.pgp
More information about the CMake
mailing list