diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2020-10-06 20:20:12 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2020-10-06 20:21:15 +0200 |
commit | 8499034b0d9d25f019c826ee368d74244279ec1a (patch) | |
tree | f0264f2e15bf874289a0152f24c79a91da3a2a95 /media-libs/quarter/files | |
parent | x11-misc/sddm: remove consolekit support (diff) | |
download | gentoo-8499034b0d9d25f019c826ee368d74244279ec1a.tar.gz gentoo-8499034b0d9d25f019c826ee368d74244279ec1a.tar.bz2 gentoo-8499034b0d9d25f019c826ee368d74244279ec1a.zip |
media-libs/quarter: fix compilation with USE=-designer
Closes: https://bugs.gentoo.org/746869
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'media-libs/quarter/files')
-rw-r--r-- | media-libs/quarter/files/quarter-1.1.0-cmake.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/quarter/files/quarter-1.1.0-cmake.patch b/media-libs/quarter/files/quarter-1.1.0-cmake.patch new file mode 100644 index 000000000000..73c6473354a0 --- /dev/null +++ b/media-libs/quarter/files/quarter-1.1.0-cmake.patch @@ -0,0 +1,16 @@ +diff -ruN quarter/CMakeLists.txt quarter-my/CMakeLists.txt +--- quarter/CMakeLists.txt 2019-12-25 19:44:38.000000000 +0100 ++++ quarter-my/CMakeLists.txt 2020-10-06 20:16:47.094206772 +0200 +@@ -90,7 +90,11 @@ + find_package(Spacenav) + + if(QUARTER_USE_QT5) +- find_package(Qt5 COMPONENTS Widgets UiTools OpenGL Designer REQUIRED) ++ if(QUARTER_BUILD_PLUGIN) ++ find_package(Qt5 COMPONENTS Widgets UiTools OpenGL Designer REQUIRED) ++ else() ++ find_package(Qt5 COMPONENTS Widgets OpenGL REQUIRED) ++ endif() + endif() + + if(Qt5_FOUND) |