From b8ad68e9e665aa6d6716d12c5eaff780bf162e97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20Van=C4=9Bk?= Date: Fri, 13 Dec 2019 10:32:22 +0100 Subject: [PATCH] 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) -- 2.39.5