Set BSD/FREEBSD for DragonflyBSD
authorKyle Evans <kevans@FreeBSD.org>
Wed, 2 May 2018 04:38:48 +0000 (23:38 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 2 May 2018 04:38:48 +0000 (23:38 -0500)
DragonflyBSD was a fork of FreeBSD once upon a time. As far as FreeRDP is
concerned, DragonflyBSD is FreeBSD-compatible and DragonflyBSD in-fact uses
the FreeBSD ports tree (+ patches)

CMakeLists.txt

index a3f2515..5875caf 100644 (file)
@@ -198,6 +198,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
        endif()
 endif()
 
+if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
+       set(BSD TRUE)
+       set(FREEBSD TRUE)
+endif()
+
 # Configure MSVC Runtime
 if(MSVC)
        include(MSVCRuntime)