]> source.dussan.org Git - rspamd.git/commitdiff
Append CXX to the list of needed languages 3186/head
authorPetr Vaněk <pv@excello.cz>
Fri, 13 Dec 2019 09:32:22 +0000 (10:32 +0100)
committerPetr Vaněk <pv@excello.cz>
Fri, 13 Dec 2019 09:32:22 +0000 (10:32 +0100)
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

index 7cd5ef398f9904e68d1b3a70432657e7738b52fa..155e317ffdc7845ec45f44411c09d14b963e170d 100644 (file)
@@ -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)