aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-03 17:04:03 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-03 17:04:03 +0400
commita0521325518c9e947d163905702b3c6eec29e740 (patch)
tree3477fafb3ab88ab091b7b2d18ba9ba2625d19dae /CMakeLists.txt
parentbb843cd3dc8673b6ad839e6ba92f92feb793ed4e (diff)
downloadrspamd-a0521325518c9e947d163905702b3c6eec29e740.tar.gz
rspamd-a0521325518c9e947d163905702b3c6eec29e740.zip
More fixed for debian build.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d9b932bf7..b8fe31ddf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -994,7 +994,9 @@ ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CONTRIBSRC} ${TOKENIZERSSRC}
${CLASSIFIERSSRC} ${PLUGINSSRC})
SET_TARGET_PROPERTIES(rspamd PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(rspamd PROPERTIES COMPILE_FLAGS "-DRSPAMD_MAIN")
+IF(NOT DEBIAN_BUILD)
SET_TARGET_PROPERTIES(rspamd PROPERTIES VERSION ${RSPAMD_VERSION})
+ENDIF(NOT DEBIAN_BUILD)
TARGET_LINK_LIBRARIES(rspamd rspamd-mime)
TARGET_LINK_LIBRARIES(rspamd rspamd-server)