SpartanJ / efsw

efsw is a C++ cross-platform file system watcher and notifier.
Other
645 stars 98 forks source link

Replace hardcoded inotify.h paths with find_path in CMakeLists #176

Closed Shauren closed 3 months ago

Shauren commented 3 months ago

On my system (ubuntu 22.04) its found at /usr/include/x86_64-linux-gnu/sys/inotify.h

SpartanJ commented 3 months ago

Thanks! Yes, that actually should be removed, only very old Linux kernel didn't have the inotify.h header, I remember adding that check around 10 years ago (in the premake4 file, then it was ported to the CMake project file by other user) for a really old Linux version.