libcue: fix build without C++
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 30 Apr 2018 11:15:11 +0000 (13:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Apr 2018 15:38:26 +0000 (17:38 +0200)
commit4a09b3eecfb0e9c6e28cacc7abf6cbe94d508e2d
treef6ba1391ad8831300a54a282d18479c86dea9275
parentebea81219a0082b43d7e99265da553cea8ebcf3d
libcue: fix build without C++

By default, CMake assumes that the project is using both C and C++. By
explicitly passing 'C' as argument of the project() macro, we tell
CMake that only C is used, which prevents CMake from checking if a C++
compiler exists.
Patch sent upstream: https://github.com/lipnitsk/libcue/pull/17

Fixes:
 - http://autobuild.buildroot.net/results/a5344d18dbdc86705853fbf8a66d5304de07a9b2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libcue/0001-libcue-is-only-implemented-in-C.patch [new file with mode: 0644]