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