lua-sdl2: fix build without C++ compiler
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Nov 2017 21:57:02 +0000 (22:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Nov 2017 21:58:25 +0000 (22:58 +0100)
commit8161a2f5367534a92978dd455bd736ff3f630abf
tree4916bdf2c45794a0bdc4c5a29e04f73a7e4734ae
parent445340685f1c8118513355a5d96f683cb2af85e2
lua-sdl2: fix build without C++ compiler

lua-sdl2 CMakeLists.txt files did not explicitly indicate that it's a
C-only project, and therefore CMake by default tries to find a C++
compiler, causing a build failure when none was available.

This commit fixes that by adding a patch that adjusts the project()
definitions in CMakeLists.txt.

Fixes:

  http://autobuild.buildroot.net/results/45e39562a68c236c582861d410ee1a9924f2bfc5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch [new file with mode: 0644]