commit b8ad68e: Append CXX to the list of needed languages

Petr Vaněk pv at excello.cz
Fri Dec 13 12:28:06 UTC 2019


Author: Petr Vaněk
Date: 2019-12-13 10:32:22 +0100
URL: https://github.com/rspamd/rspamd/commit/b8ad68e9e665aa6d6716d12c5eaff780bf162e97 (refs/pull/3186/head)

Append CXX to the list of needed languages
The replxx is written in C++ and it is enabled by default. We need to
specify this to correctly pass user specific CXXFLAGS.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cd5ef398..155e317ff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ ENDIF()
 
 SET(RSPAMD_VERSION         "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}")
 
-PROJECT(rspamd VERSION "${RSPAMD_VERSION}" LANGUAGES C ASM)
+PROJECT(rspamd VERSION "${RSPAMD_VERSION}" LANGUAGES C CXX ASM)
 
 # This is supported merely with cmake 3.1
 SET(CMAKE_C_STANDARD 11)


More information about the Commits mailing list