You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- SET(LCTRIESRC btrie.c)
- ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC})
-
- SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD")
- IF(ENABLE_FULL_DEBUG MATCHES "OFF")
- if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
- SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O3")
- endif ()
- ENDIF()
-
- set_target_properties(lcbtrie PROPERTIES COMPILE_FLAGS "${LCTRIE_CFLAGS}")
|