kumquat-buildroot/package/ninja
Yegor Yefremov bb5ffe3c90 package/ninja: fix build for cmake 3.10
If the host cmake is 3.10, the configuration step produces
the following error:

CMake Error at CMakeLists.txt:87 (target_link_libraries):
Target "libninja" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.

This patch fixes CMakeLists.txt to use the object library as it was intended
in cmake 3.10.

Fixes:
https://bugs.busybox.net/show_bug.cgi?id=12546

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Damian Tometzki <dti@familie-tometzki.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-07 15:59:07 +01:00
..
0001-set-minimum-cmake-version-to-3.10.patch package/ninja: set minimum cmake version to 3.10 2020-02-03 15:29:01 +01:00
0002-remove-fdiagnostics-color-from-make-command.patch package/ninja: remove hard coded fdiagnostics-color compiler flag 2020-02-03 17:04:56 +01:00
0003-CMake-fix-object-library-usage.patch package/ninja: fix build for cmake 3.10 2020-02-07 15:59:07 +01:00
ninja.hash
ninja.mk package/ninja: change package type to host-cmake 2020-02-03 12:29:08 +01:00