xref: /OK3568_Linux_fs/buildroot/package/read-edid/0002-Fix-compiler-check.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Fix compiler check
2
3By default CMake looks for c++ which the project does not need.
4
5Patch by Thomas:
6http://lists.busybox.net/pipermail/buildroot/2015-December/146865.html
7
8Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9
10diff -uNr read-edid-3.0.2.org/CMakeLists.txt read-edid-3.0.2/CMakeLists.txt
11--- read-edid-3.0.2.org/CMakeLists.txt	2014-02-05 17:27:26.000000000 +0100
12+++ read-edid-3.0.2/CMakeLists.txt	2015-12-13 16:08:43.000000000 +0100
13@@ -1,5 +1,5 @@
14 cmake_minimum_required (VERSION 2.6)
15-project (read-edid)
16+project (read-edid C)
17
18 option(I2CBUILD "Build I2C get-edid implementation" ON)
19 option(CLASSICBUILD "Build VBE get-edid implementation" ON)
20