emcrisostomo / fswatch

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.
https://emcrisostomo.github.io/fswatch/
GNU General Public License v3.0
4.96k stars 327 forks source link

Install CMake package config file #304

Closed tamaskenez closed 1 year ago

tamaskenez commented 1 year ago

The PR amends the existing CMake install commands to also install a package configuration file. In the client program the package can be located and used like this:

find_package(libfswatch ...)
...
target_link_libraries(... libfswatch::libfswatch ...)
tamaskenez commented 1 year ago

opened #306 instead of to better adhere to contributor guidelines (descriptive branch name)