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