Skip to content

Commit d967d05

Browse files
committed
Bluetooth (DragonFly): disable module to fix build
1 parent 9ef8580 commit d967d05

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ elseif(FreeBSD)
618618
src/common/sysctl.c
619619
src/detection/battery/battery_bsd.c
620620
src/detection/bios/bios_bsd.c
621-
src/detection/bluetooth/bluetooth_bsd.c
622621
src/detection/bluetoothradio/bluetoothradio_nosupport.c
623622
src/detection/board/board_bsd.c
624623
src/detection/bootmgr/bootmgr_bsd.c
@@ -691,6 +690,15 @@ elseif(FreeBSD)
691690
src/util/platform/FFPlatform_unix.c
692691
src/util/binary_linux.c
693692
)
693+
if(DragonFly)
694+
list(APPEND LIBFASTFETCH_SRC
695+
src/detection/bluetooth/bluetooth_nosupport.c
696+
)
697+
else()
698+
list(APPEND LIBFASTFETCH_SRC
699+
src/detection/bluetooth/bluetooth_bsd.c
700+
)
701+
endif()
694702
elseif(NetBSD)
695703
list(APPEND LIBFASTFETCH_SRC
696704
src/common/dbus.c

0 commit comments

Comments
 (0)