mirror of
https://github.com/RetroShare/libretroshare.git
synced 2026-09-12 19:50:03 +05:00
tiff cmake/FindCMath.cmake probes pow(3) twice, first with no extra library then with the result of find_library(NAMES m). On Android pow is in libm, and the NDK keeps libm.so under the API level directory of the sysroot, sysroot/usr/lib/<triple>/<api>/, which andro_cmake does not add to CMAKE_LIBRARY_PATH. find_library returns NOTFOUND, the second probe links exactly like the first one and both fail with ld.lld: error: undefined symbol: pow so configure aborts on Could NOT find CMath (missing: CMath_pow) taking build_cimg and build_phash down with it. Pass CMath_LIBRARY explicitly rather than adding the API level directory to the search path of every dependency, which would change how the other ten already working ones resolve their libraries. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Android | ||