CMakeLists.txt: do not require a C++ compiler
By default, CMake assumes both a C and C++ compiler are required. This is not needed for mraa because it only provides C++ header files. Note that if using SWIG you need one and if using node.js 3+ you'll need a C++11 compiler Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
6d391ce605
commit
a87a104efe
@@ -171,6 +171,7 @@ if (DOXYGEN_FOUND)
|
||||
endif ()
|
||||
|
||||
if (BUILDSWIG)
|
||||
enable_language(CXX)
|
||||
find_package (SWIG)
|
||||
if (SWIG_FOUND)
|
||||
include (${SWIG_USE_FILE})
|
||||
|
||||
Reference in New Issue
Block a user