commit | 8087a21d0aaf0f206d68506034ac6e0be49c3d77 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Mon Jun 30 22:27:17 2025 +0300 |
committer | Cosmin Truta <ctruta@gmail.com> | Mon Jun 30 22:27:17 2025 +0300 |
tree | 3ee210250b61429e172def3bb21647d2fbb602a0 | |
parent | 2e5f296bfa04c5a4f885ebad790339641691e4bd [diff] |
build: Fix the CMake file for cross-platform builds that require `libm` Detect the availability of `libm` on the target platform. Previously, `libm` was detected on the host platform only. Also introduce the variable `PNG_LINK_LIBRARIES`. Stop using `M_LIBRARY`, which was not namespace-clean.