summaryrefslogtreecommitdiffstats
path: root/src/evdns/CMakeLists.txt
blob: fff890e5964ab94a64a6a3f756bc89f869023df5 (plain)
1
2
3
4
5
6
7
8
9
# Evdns port to support TXT records
SET(EVDNSSRC			  evdns.c)

ADD_LIBRARY(rspamd_evdns STATIC ${EVDNSSRC})
IF(CMAKE_COMPILER_IS_GNUCC)
SET_TARGET_PROPERTIES(rspamd_evdns PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing -DRSPAMD_LIB")
ELSE
SET_TARGET_PROPERTIES(rspamd_evdns PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
ENDIF(CMAKE_COMPILER_IS_GNUCC)