change the CMakeLists.txt for CURL if cross compiling on Linux set the libcurl path example cmake cmd:
cmake -Barmbuild -H. -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCURL_DIR=/home/bm/third_libs/aarch64/curl/lib/cmake/CURL -DCURL_INCLUDE_DIRS=/home/bm/third_libs/aarch64/curl/include -DCURL_LIBRARIES=/home/bm/third_libs/aarch64/curl/lib/libcurl.so
When I cross-compiled under Ubuntu, I found that it couldn't compile, so I modified CmakeLists.txt and it compiled normally, and attached my cmake command to the commit information
…ross compiling