The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ympd / 0002-only-c-language.patch
1 ympd is implemented only in C
2
3 By default, CMake assumes that the project is using both C and C++. By
4 explicitly passing 'C' as argument of the project() macro, we tell
5 CMake that only C is used, which prevents CMake from checking if a C++
6 compiler exists.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10 Index: b/CMakeLists.txt
11 ===================================================================
12 --- a/CMakeLists.txt
13 +++ b/CMakeLists.txt
14 @@ -1,6 +1,6 @@
15  cmake_minimum_required(VERSION 2.6)
16  
17 -project (ympd)
18 +project (ympd C)
19  set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/")
20  set(CPACK_PACKAGE_VERSION_MAJOR "1")
21  set(CPACK_PACKAGE_VERSION_MINOR "2")