flatcc: conditionally require c++ in cmake
authorJoel Carlson <joelsoncarl@gmail.com>
Thu, 6 Sep 2018 21:11:29 +0000 (15:11 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Sep 2018 13:46:14 +0000 (15:46 +0200)
commit56296d51bef2ad97487602150871541c25107b8b
tree365e10e69077d43f76966b4f1060e9e08df2346c
parentfd4abc30d2c21617a43d9ff19b7ab182c044f7c5
flatcc: conditionally require c++ in cmake

Patches CMake files in flatcc to conditionally set c++ as a required
language depending on if FLATCC_TEST option is set, as only the tests
include a c++ file.

Fixes
http://autobuild.buildroot.net/results/8fb0447eed1d55b7687f657530e31695cf77ce5c/

Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/flatcc/0001-CMakeLists.txt-conditionally-require-C-based-on-FLAT.patch [new file with mode: 0644]