fswatch
fswatch copied to clipboard
Fix pthread usage in CMake
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.