patch-src_CMakeLists_txt 698 B

12345678910111213141516
  1. $OpenBSD: patch-src_CMakeLists_txt,v 1.5 2017/03/08 17:02:13 sthen Exp $
  2. --- src/CMakeLists.txt.orig Wed Jan 11 09:04:45 2017
  3. +++ src/CMakeLists.txt Sun Mar 5 15:23:51 2017
  4. @@ -174,9 +174,9 @@ ENDIF()
  5. ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c)
  6. SET_TARGET_PROPERTIES(rspamd PROPERTIES LINKER_LANGUAGE C)
  7. SET_TARGET_PROPERTIES(rspamd PROPERTIES COMPILE_FLAGS "-DRSPAMD_MAIN")
  8. -IF(NOT DEBIAN_BUILD)
  9. +IF(NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
  10. SET_TARGET_PROPERTIES(rspamd PROPERTIES VERSION ${RSPAMD_VERSION})
  11. -ENDIF(NOT DEBIAN_BUILD)
  12. +ENDIF(NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
  13. TARGET_LINK_LIBRARIES(rspamd rspamd-server)
  14. IF (ENABLE_SNOWBALL MATCHES "ON")