For whatever reason, the tests and benchmarks do not compile on NDK and they seem to be a bigger problem to solve than skip. For the purposes of this PR, I'll just be skipping them as I don't believe they are critical.
However, I do imagine that building the shared library is important. I'm not sure why CMake cannot properly link functions to fmt while building shared. I do know that it works if you build without NDK though.
So I believe this PR fixes the issues related to building with Android NDK.
NDK Version:
23.1.7779620
CMake version:3.22.1
Build command:For whatever reason, the tests and benchmarks do not compile on NDK and they seem to be a bigger problem to solve than skip. For the purposes of this PR, I'll just be skipping them as I don't believe they are critical.
However, I do imagine that building the shared library is important. I'm not sure why CMake cannot properly link functions to
fmt
while building shared. I do know that it works if you build without NDK though.I'm willing to provide logs if required. Cheers