apol created this revision. apol added reviewers: KWin, Frameworks. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. apol requested review of this revision.
REVISION SUMMARY Instead of passing the data from stdin, pass the path, this way if there's an error wayland-scanner will be able to tell us the file and line where it's failing. TEST PLAN Built kwayland and kwin with it REPOSITORY R240 Extra CMake Modules BRANCH master REVISION DETAIL https://phabricator.kde.org/D20105 AFFECTED FILES find-modules/FindWaylandScanner.cmake To: apol, #kwin, #frameworks Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns