]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Support DragonFly build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Apr 2016 14:17:44 +0000 (15:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Apr 2016 14:17:44 +0000 (15:17 +0100)
Issue: #595

CMakeLists.txt

index 968949a3094cd9428c0716ab3ed2bf70839481bf..4c19e84a226b87a993305828da3e4b4782f38682 100644 (file)
@@ -509,7 +509,7 @@ SET(POE_LOOP "Loop::IO_Poll")
 SET(TAR "tar")
 
 # Platform specific configuration
-IF(CMAKE_SYSTEM_NAME MATCHES "^.*BSD$")
+IF(CMAKE_SYSTEM_NAME MATCHES "^.*BSD$|DragonFly")
        ADD_DEFINITIONS(-DFREEBSD -D_BSD_SOURCE)
        CONFIGURE_FILE(freebsd/rspamd.sh.in freebsd/rspamd @ONLY)