The replxx is written in C++ and it is enabled by default. We need to specify this to correctly pass user specific CXXFLAGS.tags/2.3
SET(RSPAMD_VERSION "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}") | 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 | # This is supported merely with cmake 3.1 | ||||
SET(CMAKE_C_STANDARD 11) | SET(CMAKE_C_STANDARD 11) |