Browse Source

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.
tags/2.3
Petr Vaněk 4 years ago
parent
commit
b8ad68e9e6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View 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)

Loading…
Cancel
Save