commit | ee7967eea439145673fa89e2d7d56d4932c182cc | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Sat Nov 17 21:31:55 2018 -0500 |
committer | Cosmin Truta <ctruta@gmail.com> | Sat Nov 17 21:31:55 2018 -0500 |
tree | 05ceefb25617ed7333a37b119aa69966e106b673 | |
parent | a54a0562c53daf2d627f1631be0dd6531cca1694 [diff] |
CMakeLists: Fix detection of libm Only use libm on Unix and Unix-like systems, except for Apple (where it's unnecessary), and BeOS and Haiku (where it's unavailable). Avoid searching for libm at explicit locations. They may be incorrect, especially for cross-platform builds.