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

123456789101112
  1. SET(FPCONVSRC fpconv.c)
  2. SET(FTPCONV_COMPILE_FLAGS "-DRSPAMD_LIB")
  3. IF(ENABLE_FULL_DEBUG MATCHES "OFF")
  4. if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
  5. set(FTPCONV_COMPILE_FLAGS "${FTPCONV_COMPILE_FLAGS} -O3")
  6. endif ()
  7. ENDIF()
  8. ADD_LIBRARY(rspamd-fpconv STATIC ${FPCONVSRC})
  9. SET_TARGET_PROPERTIES(rspamd-fpconv PROPERTIES VERSION ${RSPAMD_VERSION})
  10. SET_TARGET_PROPERTIES(rspamd-fpconv PROPERTIES COMPILE_FLAGS "${FTPCONV_COMPILE_FLAGS}")