A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
Rather than searching for -lpthread, use find_package(Threads) and use the imported target that it creates. Make sure to use threads in the test program as well.
Rather than searching for -lpthread, use find_package(Threads) and use the imported target that it creates. Make sure to use threads in the test program as well.