simplify cross-compiling: run with:cmake -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM:STRING=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY -DCMAKE_FIND_ROOT_PATH:PATH=/usr/i686-pc-mingw32 -DCMAKE_SYSTEM_NAME:STRING=Windows -DBoost_THREADAPI:STRING=win32 -DCURL_CONFIG:PATH=/usr/i686-pc-mingw32/bin/curl-config -G Ninja .