aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-08 02:31:13 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-08 02:31:13 +0400
commita799332877d7043cdc6070dfd3be80e0b51bf987 (patch)
treee43bb1bbaa46b8fd8abc2fd6d9b72e5aed442c22
parenta8f8278902804315281482dbfc1e510ec8f417ca (diff)
downloadrspamd-a799332877d7043cdc6070dfd3be80e0b51bf987.tar.gz
rspamd-a799332877d7043cdc6070dfd3be80e0b51bf987.zip
Do not compile libkvstorage for debian as it is useless just now.
-rw-r--r--lib/CMakeLists.txt48
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index c09f30875..eb9364bfa 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -188,30 +188,30 @@ IF(NO_SHARED MATCHES "OFF")
ENDIF(NO_SHARED MATCHES "OFF")
# Libkvstorageclient
-
-ADD_LIBRARY(kvstorageclient SHARED ${LIBRKVSTORAGESRC})
-ADD_LIBRARY(kvstorageclient_static STATIC ${LIBRKVSTORAGESRC})
IF(NOT DEBIAN_BUILD)
-SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES PUBLIC_HEADER "kvstorage/libkvstorageclient.h")
-ENDIF(NOT DEBIAN_BUILD)
-
-IF(CMAKE_COMPILER_IS_GNUCC)
-SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
-SET_TARGET_PROPERTIES(kvstorageclient_static PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
-ENDIF(CMAKE_COMPILER_IS_GNUCC)
-
-TARGET_LINK_LIBRARIES(kvstorageclient rspamd-util)
-
-TARGET_LINK_LIBRARIES(kvstorageclient_static ${CMAKE_REQUIRED_LIBRARIES})
-TARGET_LINK_LIBRARIES(kvstorageclient_static ${GLIB2_LIBRARIES})
-
-IF(NOT DEBIAN_BUILD)
-SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES VERSION ${RSPAMD_VERSION})
-SET_TARGET_PROPERTIES(kvstorageclient_static PROPERTIES VERSION ${RSPAMD_VERSION})
+ ADD_LIBRARY(kvstorageclient SHARED ${LIBRKVSTORAGESRC})
+ ADD_LIBRARY(kvstorageclient_static STATIC ${LIBRKVSTORAGESRC})
+ IF(NOT DEBIAN_BUILD)
+ SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES PUBLIC_HEADER "kvstorage/libkvstorageclient.h")
+ ENDIF(NOT DEBIAN_BUILD)
+
+ IF(CMAKE_COMPILER_IS_GNUCC)
+ SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
+ SET_TARGET_PROPERTIES(kvstorageclient_static PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
+ ENDIF(CMAKE_COMPILER_IS_GNUCC)
+
+ TARGET_LINK_LIBRARIES(kvstorageclient rspamd-util)
+
+ TARGET_LINK_LIBRARIES(kvstorageclient_static ${CMAKE_REQUIRED_LIBRARIES})
+ TARGET_LINK_LIBRARIES(kvstorageclient_static ${GLIB2_LIBRARIES})
+
+ SET_TARGET_PROPERTIES(kvstorageclient PROPERTIES VERSION ${RSPAMD_VERSION})
+ SET_TARGET_PROPERTIES(kvstorageclient_static PROPERTIES VERSION ${RSPAMD_VERSION})
+
+
+ IF(GLIB_COMPAT)
+ INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/contrib/lgpl")
+ TARGET_LINK_LIBRARIES(kvstorageclient glibadditions)
+ ENDIF(GLIB_COMPAT)
ENDIF(NOT DEBIAN_BUILD)
-
-IF(GLIB_COMPAT)
- INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/contrib/lgpl")
- TARGET_LINK_LIBRARIES(kvstorageclient glibadditions)
-ENDIF(GLIB_COMPAT)
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/src") \ No newline at end of file