Skip to content

CMake: TRY_RUN() invoked in cross-compiling mode #3292

@bagder

Description

@bagder

I did this

Build for android using the cmake build files. See #3268 and in particular this build failure.

Towards the end of the cmake run it says

-- Performing Test HAVE_POLL_FINE
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   HAVE_POLL_FINE_EXITCODE (advanced)
   HAVE_POLL_FINE_EXITCODE__TRYRUN_OUTPUT (advanced)
For details see C:/projects/curl/build/TryRunResults.cmake
-- Performing Test HAVE_POLL_FINE - Failed

I expected the following

The build to succeed

curl/libcurl version

git master

operating system

a build for Android on Windows

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions