Bug 450177 - Unknown CMake command "ecm_add_qtwayland_server_protocol".
Summary: Unknown CMake command "ecm_add_qtwayland_server_protocol".
Status: REPORTED
Alias: None
Product: kwayland
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.91.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-13 20:57 UTC by Ilya Fedin
Modified: 2022-02-13 21:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Fedin 2022-02-13 20:57:49 UTC
SUMMARY
It seems the server library uses ecm_add_qtwayland_server_protocol despite QtWaylandScanner package is not used


STEPS TO REPRODUCE
1. Try to build kwayland with BUILD_WITH_QT6=ON

OBSERVED RESULT
The error from the title

EXPECTED RESULT
No errors

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: CentOS 7 in docker
(available in About System)
KDE Plasma Version: None
KDE Frameworks Version: 5.91.0
Qt Version: 6.2.2

ADDITIONAL INFORMATION
I don't need server library, it's a pity there's no way to build only the client library
Comment 1 Ilya Fedin 2022-02-13 21:23:23 UTC
Oh, I see it's possible to disable server library with EXCLUDE_DEPRECATED_BEFORE_AND_AT=5.91.0 now