mirror of https://github.com/eclipse/paho.mqtt.c
Revert "Enable CXX language to support using GenerateExportHeader"
This reverts commit23d68e8c79. Indeed, GenerateExportHeader has been removed with commitdb5a2c216band ENABLE_LANGUAGE(CXX) will raise the following build failure if no C++ compiler is found: CMake Error at CMakeLists.txt:34 (ENABLE_LANGUAGE): The CMAKE_CXX_COMPILER: /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-linux-g++ is not a full path to an existing compiler tool. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Fixes: - http://autobuild.buildroot.org/results/831ecc34b51ee2be82a3c25f5ec94f0dd2103655 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
parent
3148fe2d5f
commit
342b3824d2
|
|
@ -31,7 +31,6 @@ file(READ version.minor PAHO_VERSION_MINOR)
|
|||
file(READ version.patch PAHO_VERSION_PATCH)
|
||||
SET(CLIENT_VERSION ${PAHO_VERSION_MAJOR}.${PAHO_VERSION_MINOR}.${PAHO_VERSION_PATCH})
|
||||
|
||||
ENABLE_LANGUAGE(CXX)
|
||||
INCLUDE(GNUInstallDirs)
|
||||
|
||||
STRING(TIMESTAMP BUILD_TIMESTAMP UTC)
|
||||
|
|
|
|||
Loading…
Reference in New Issue