https://bugs.kde.org/show_bug.cgi?id=460656

--- Comment #1 from Dawid Wróbel <m...@dawidwrobel.com> ---
This one is odd. I tried debugging this previously and the problem appears to
be with find-modules/FindInotify.cmake from ECM. 

Specifically, by looking into CMake trace, I saw that:
1) the first time find_path(Inotify_INCLUDE_DIRS sys/inotify.h) is executed, it
finds the path just fine, and the if(Inotify_INCLUDE_DIRS) block executes as
expected
2) the second time FindInotify.cmake is run (it escapes me why is it run
consecutive time at all),  it appears that it uses a cached
`Inotify_INCLUDE_DIRS` value, which somehow ends up empty, though, since the
code in the if(Inotify_INCLUDE_DIRS) block is *not* executed.

I cannot pinpoint the exact reason behind this behavior. This is most likely
the FindInotify.cmake's fault, which would make this extra-cmake-modules' bug,
but I am leaving it here for the context.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to