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.

CMakeLists.txt 376B

1234567891011
  1. SET(LCTRIESRC btrie.c)
  2. ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC})
  3. SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD")
  4. IF(ENABLE_FULL_DEBUG MATCHES "OFF")
  5. if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
  6. SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O3")
  7. endif ()
  8. ENDIF()
  9. set_target_properties(lcbtrie PROPERTIES COMPILE_FLAGS "${LCTRIE_CFLAGS}")