xerces: fix buid with older cmake
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 11 Oct 2018 19:04:29 +0000 (21:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 11 Oct 2018 20:07:41 +0000 (22:07 +0200)
commitb449ba80077d94e503521a53bc7e2613901dd1c7
tree4f88d2f6b579f1a9fa2608d2b6d1be4463aa934c
parent25fbac566c0540cd34005f14dda8644a1879c85e
xerces: fix buid with older cmake

Old version of cmake break cross-compilation when FindThreads is used
because of a try_run call. Add a workaround that avoids try_run.

cmake bug report: https://gitlab.kitware.com/cmake/cmake/issues/16920

Fixes:
 - http://autobuild.buildroot.org/results/784918c58310474e8b4a0b42850a55ba35a1a19e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/xerces/xerces.mk