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 441B

123456789101112
  1. SET(T1HASRC t1ha1.c
  2. t1ha2.c)
  3. ADD_LIBRARY(rspamd-t1ha STATIC ${T1HASRC})
  4. SET_TARGET_PROPERTIES(rspamd-t1ha PROPERTIES VERSION ${RSPAMD_VERSION})
  5. ADD_DEFINITIONS("-DT1HA_USE_FAST_ONESHOT_READ=0")
  6. IF(ENABLE_FULL_DEBUG MATCHES "OFF")
  7. if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
  8. SET_TARGET_PROPERTIES(rspamd-t1ha PROPERTIES COMPILE_FLAGS "-O3")
  9. endif ()
  10. ENDIF()