Skip to content

cmake: allow build without c++

Hugo Leisink requested to merge bkuhls:no_cxx into master

Created by: bkuhls

By default cmake also searches for a c++ compiler: https://cmake.org/cmake/help/v3.7/command/project.html "By default C and CXX are enabled if no language options are given."

This patch restricts the compiler to C to fix a build error detected by the buildroot autobuilders: http://autobuild.buildroot.net/results/c04/c04ff29b83c020573add597c355c57a6d9c9761d/build-end.log

Merge request reports