-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VstEmbed: Add missing find_package instruction for Qt5X11Extras
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,6 +152,11 @@ IF(WANT_QT5) | |
Qt5::Xml | ||
) | ||
|
||
IF(LMMS_BUILD_LINUX) | ||
FIND_PACKAGE(Qt5X11Extras REQUIRED) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lukas-w
Author
Member
|
||
LIST(APPEND QT_LIBRARIES Qt5::X11Extras) | ||
ENDIF() | ||
|
||
FIND_PACKAGE(Qt5Test) | ||
SET(QT_QTTEST_LIBRARY Qt5::Test) | ||
ELSE() | ||
|
Could you please remind the context for Qt5X11Extras requirement addition? What issue did it fix and why check for Linux instead of maybe adding an opt-out build flag like WANT_X11? Build on a Wayland-only system succeeded without this check.
UPD: Oh, also had to disable add_subdirectory(qt5-x11embed) in src/3rdparty/CMakeLists.txt. Since these seem only required for VST support, will probably add
AND WANT_VST
checks to both conditions and send a pull request. Still I'd appreciate context links to better understand the requirement.