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

12345678910
  1. SET(LINENOISESRC linenoise.c)
  2. ADD_LIBRARY(rspamd-linenoise STATIC ${LINENOISESRC})
  3. SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES VERSION ${RSPAMD_VERSION})
  4. IF(ENABLE_FULL_DEBUG MATCHES "OFF")
  5. if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
  6. SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O3")
  7. endif ()
  8. ENDIF()