From: Petr Vaněk Date: Fri, 13 Dec 2019 09:32:22 +0000 (+0100) Subject: Append CXX to the list of needed languages X-Git-Tag: 2.3~216^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8ad68e9e665aa6d6716d12c5eaff780bf162e97;p=thirdparty%2Frspamd.git 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. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cd5ef398f..155e317ffd 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)