From 9bcb257bda6071cd28db82aa0c2bf280dad651bc Mon Sep 17 00:00:00 2001 From: Jeff Cook Date: Mon, 22 Jul 2024 02:56:08 -0600 Subject: [PATCH] Don't try to link inotify stuff on FreeBSD. --- qimgv/components/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qimgv/components/CMakeLists.txt b/qimgv/components/CMakeLists.txt index 871e01f9..f498b804 100644 --- a/qimgv/components/CMakeLists.txt +++ b/qimgv/components/CMakeLists.txt @@ -34,7 +34,7 @@ if(APPLE) # directorymanager/watchers/linux/linuxfsevent.cpp # directorymanager/watchers/linux/linuxwatcher.cpp # directorymanager/watchers/linux/linuxworker.cpp) -elseif(UNIX) +elseif(UNIX AND NOT (CMAKE_SYSTEM_NAME MATCHES ^FreeBSD$)) target_sources(qimgv PRIVATE directorymanager/watchers/linux/linuxfsevent.cpp directorymanager/watchers/linux/linuxwatcher.cpp